Поделиться через


Свойство 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