Compartir a través de


Events.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)]
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 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 object representing all commands in the group.

Property Value

A CommandEvents object.

Attributes

Applies to