Share via


Menu.Text Property

Gets or sets the text label for this menu.

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 Menu
Dim value As String

value = instance.Text

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

Property Value

Type: System.String
The label. The default is “ ” (an empty string).

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace