CommandIdAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A metadata attribute identifying a Visual Studio command by its GUID and 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
- Inheritance
-
CommandIdAttribute
- Attributes
Constructors
CommandIdAttribute(String, Int32) |
Creates a new instance of the CommandIdAttribute. |
Properties
CommandId |
A command ID in the command set. |
CommandSetGuid |
A command set the command belongs to. |