Export (0) Print
Expand All
ID
Top
Expand Minimize

CommandEvents Property

Visual Studio .NET 2003

Returns the CommandEvents Object for the specified command.

[Visual Basic .NET]
Public ReadOnly Property CommandEvents( _
   Optional ByVal Guid As String = "{00000000-0000-0000-0000-000000000000}", _
   Optional ByVal ID As Integer = 0 _
) As CommandEvents
[Visual Basic 6]
Property Get CommandEvents( _
   Optional ByVal Guid As String = "{00000000-0000-0000-0000-000000000000}", _
   Optional ByVal ID As Long = 0 _
) As CommandEvents
[C++]
HRESULT __stdcall get_CommandEvents(
   BSTR Guid,
   long ID,
   /* [out, retval] */ CommandEvents** retVal
);
[C#]
public CommandEvents CommandEvents(
   string Guid,
   int ID
) {get;}
[JScript .NET]
public function get CommandEvents(
   Guid : String,
   ID : int
) : CommandEvents

Parameters

Guid
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
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.

Return Value

Returns a CommandEvents object.

See Also

Applies To: Events Object

Show:
© 2014 Microsoft