ContextMenuItem.Label Property

Applies to v2.

Gets a label for the item.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Property Label As String 
    Get 
    Private Set
'Usage
Dim instance As ContextMenuItem 
Dim value As String 

value = instance.Label
public string Label { get; private set; }
public:
virtual property String^ Label {
    String^ get () sealed;
    private: void set (String^ value) sealed;
}
abstract Label : string with get, private set 
override Label : string with get, private set
final function get Label () : String 
private final function set Label (value : String)

Property Value

Type: System.String
A label for the item.

Implements

IContextMenuItem.Label

See Also

Reference

ContextMenuItem Class

Microsoft.WebMatrix.Extensibility Namespace