Events.CommandEvents Property
Gets the CommandEvents for the specified command.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property CommandEvents ( _
Guid As String, _
ID As Integer _
) As CommandEvents
CommandEvents this[
string Guid,
int ID
] { get; }
property CommandEvents^ CommandEvents[[InAttribute] String^ Guid, [InAttribute] int ID] {
CommandEvents^ get ([InAttribute] String^ Guid, [InAttribute] int ID);
}
abstract CommandEvents :
Guid:string *
ID:int -> CommandEvents with get
JScript does not support indexed properties.
Parameters
Guid
Type: System.StringRequired. 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.Int32Required. 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.