CommandIdAttribute Klasse

Definition

Ein Metadatenattribut, das einen Visual Studio-Befehl anhand seiner GUID und ID identifiziert.

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
Vererbung
CommandIdAttribute
Attribute

Konstruktoren

CommandIdAttribute(String, Int32)

Erstellt eine neue Instanz der CommandIdAttribute.

Eigenschaften

CommandId

Eine Befehls-ID im Befehlssatz.

CommandSetGuid

Ein Befehlssatz, zu dem der Befehl gehört.

Gilt für