ContextMenuItem.Label 属性

适用于版本2

获取项的标签。

命名空间:  Microsoft.WebMatrix.Extensibility
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Public Property Label As String 
    Get 
    Private Set
用法
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)

属性值

类型:System.String
项的标签。

实现

IContextMenuItem.Label

请参阅

参考

ContextMenuItem 类

Microsoft.WebMatrix.Extensibility 命名空间