Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the text caption that is displayed for the menu item.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property Caption As String
Get
Set
'Usage
Dim instance As MenuItem
Dim value As String
value = instance.Caption
instance.Caption = value
public string Caption { get; set; }
Property Value
Type: System.String
A string that represents the text caption of the menu item.