NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CommandID Constructor

Initializes a new instance of the CommandID class. Creates a new command ID.

[Visual Basic]
Public Sub New( _
   ByVal menuGroup As Guid, _
   ByVal commandID As Integer _
)
[C#]
public CommandID(
   Guid menuGroup,
   int commandID
);
[C++]
public: CommandID(
   Guid menuGroup,
   int commandID
);
[JScript]
public function CommandID(
   menuGroup : Guid,
   commandID : int
);

Parameters

menuGroup
The GUID of the group that this menu command belongs to.
commandID
The identifier of this menu command within the group.

See Also

CommandID Class | CommandID Members | System.ComponentModel.Design Namespace | IMenuCommandService | MenuCommand