Compartilhar via


Menu.Text property

Gets or sets the text label for this menu.

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

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