Events2.CommandEvents[String, Int32] Events2.CommandEvents[String, Int32] Events2.CommandEvents[String, Int32] Events2.CommandEvents[String, Int32] Property

Definition

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)]
[get: System.Runtime.InteropServices.DispId(300)]
public EnvDTE.CommandEvents CommandEvents[string Guid = "{00000000-0000-0000-0000-000000000000}", int ID = 0] { get; }
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 String String 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 Int32 Int32 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
Implements

Applies to