Events2.CommandEvents[String, Int32] Property
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.
Gets the CommandEvents for the specified command.
public:
property EnvDTE::CommandEvents ^ CommandEvents[System::String ^, int] { EnvDTE::CommandEvents ^ get(System::String ^ Guid, int ID); };
[System.Runtime.InteropServices.DispId(300)]
public EnvDTE.CommandEvents CommandEvents[string Guid = "{00000000-0000-0000-0000-000000000000}", int ID = 0] { [System.Runtime.InteropServices.DispId(300)] get; }
[<System.Runtime.InteropServices.DispId(300)>]
[<get: System.Runtime.InteropServices.DispId(300)>]
member this.CommandEvents(string * int) : EnvDTE.CommandEvents
Public ReadOnly Property CommandEvents(Optional Guid As String = "{00000000-0000-0000-0000-000000000000}", Optional ID As Integer = 0) As CommandEvents
Parameters
- Guid
- String
Required. The GUID for the command group. If Guid
is Null
or Nothing
, then CommandEvents[String, Int32] returns a CommandEvents[String, Int32] object representing all commands in the environment.
- ID
- Int32
Required. An index into the command group for the particular command. If ID
is Null
or Nothing
, then CommandEvents[String, Int32] returns a CommandEvents[String, Int32] object representing all commands in the group.
Property Value
A CommandEvents object.
Implements
- Attributes