CommandIdAttribute Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Um atributo de metadados que identifica um comando do Visual Studio por seu GUID e ID.
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
- Herança
-
CommandIdAttribute
- Atributos
Construtores
| CommandIdAttribute(String, Int32) |
Cria uma nova instância do CommandIdAttribute. |
Propriedades
| CommandId |
Uma ID de comando no conjunto de comandos. |
| CommandSetGuid |
Um conjunto de comandos ao qual o comando pertence. |