SPLinkButton.Text property

Gets or sets the text shown for the SPLinkButton on the page.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Text As String
    Get
    Set
'Usage
Dim instance As SPLinkButton
Dim value As String

value = instance.Text

instance.Text = value
public string Text { get; set; }

Property value

Type: System.String
A string that contains the text.

See also

Reference

SPLinkButton class

SPLinkButton members

Microsoft.SharePoint.WebControls namespace