Events::CommandEvents Property (String^, Int32)

 

Gets the CommandEvents for the specified command.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

property CommandEvents^ default[
	String^ Guid = "{00000000-0000-0000-0000-000000000000}",
	int ID = 0
] {
	CommandEvents^ get(String^ Guid = "{00000000-0000-0000-0000-000000000000}", int ID = 0);
}

Parameters

Guid
Type: System::String^

Required. The GUID for the command group. If Guid is Null or Nothing, then CommandEvents returns a CommandEvents object representing all commands in the environment.

ID
Type: System::Int32

Required. An index into the command group for the particular command. If ID is Null or Nothing, then CommandEvents returns a CommandEvents object representing all commands in the group.

Property Value

Type: EnvDTE::CommandEvents^

A CommandEvents object.

Return to top
Show: