次の方法で共有


IContextMenuItem.Label プロパティ

v2 に適用されます。

項目のラベルを取得します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
ReadOnly Property Label As String 
    Get
'使用
Dim instance As IContextMenuItem 
Dim value As String 

value = instance.Label
string Label { get; }
property String^ Label {
    String^ get ();
}
abstract Label : string
function get Label () : String

プロパティ値

型: System.String
項目のラベル。

関連項目

参照

IContextMenuItem インターフェイス

Microsoft.WebMatrix.Extensibility 名前空間