CommandIdAttribute Класс

Определение

Атрибут метаданных, определяющий команду Visual Studio по его идентификатору GUID и ИДЕНТИФИКАТОРу.

public ref class CommandIdAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class CommandIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type CommandIdAttribute = class
    inherit Attribute
Public NotInheritable Class CommandIdAttribute
Inherits Attribute
Наследование
CommandIdAttribute
Атрибуты

Конструкторы

CommandIdAttribute(String, Int32)

Создает новый экземпляр класса CommandIdAttribute.

Свойства

CommandId

Идентификатор команды в наборе команд.

CommandSetGuid

Набор команд, которым принадлежит команда.

Применяется к