Share via


SubMenuTemplate.Text Property

Gets or sets the text label for the menu item.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.Text

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

Property Value

Type: System.String
The text label for the menu item.

See Also

Reference

SubMenuTemplate Class

SubMenuTemplate Members

Microsoft.SharePoint.WebControls Namespace