HtmlMenuItem.Text Property
Gets or sets the text that is 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 that is contained in the menu item link.
Remarks
If the Separator property is true, all other properties are ignored when the HtmlMenuItem is rendered.