Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 : CommandEvents
JScript does not support indexed properties.
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.
.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.