HtmlMenuItem.Text Property
Gets or sets the text contained in the menu item link.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Property Text As String
Get
Set
'Usage
Dim instance As HtmlMenuItem
Dim value As String
value = instance.Text
instance.Text = value
public string Text { get; set; }
Property Value
Type: System.String
A string that represents the text contained in the menu item link.
Remarks
If the Separator property is true, the Text, TargetURL, and ImageURL properties are not used.