MenuItemTemplate.Text property

Sets or retrieves the text label for the menu item.

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

Syntax

'Declaration
Public Property Text As String
    Get
    Set
'Usage
Dim instance As MenuItemTemplate
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 label.

See also

Reference

MenuItemTemplate class

MenuItemTemplate members

Microsoft.SharePoint.WebControls namespace