Sets or returns the hyperlink's displayed text.

public System.String Text{ get; set; }
Public Property Text() As String

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"