Sets or returns the hyperlink's displayed text.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public System.String Text{ get; set; }
</pre></td></tr></table>
<p>Public Property Text() As String</p>

By default the display text is the same as the hyperlink. Setting this property will not change the location that is linked to, but will change the text that is displayed.


          //--- Get Text
          string linkText = link.Text;

          //--- Set Text
          link.Text = "SoftArtisans";
        

          '--- Get Text
          Dim linkText As String = link.Text

          '--- Set Text
          link.Text = "SoftArtisans"