OleCommand(Guid, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class constructor. Initializes a new instance of the OleCommand class with command group identifier and command identifier.
public:
OleCommand(Guid groupGuid, int commandId);
public OleCommand (Guid groupGuid, int commandId);
new Microsoft.VisualStudio.Data.OleCommand : Guid * int -> Microsoft.VisualStudio.Data.OleCommand
Public Sub New (groupGuid As Guid, commandId As Integer)
Parameters
- groupGuid
- Guid
GUID of the menu group for the specified command.
- commandId
- Int32
The ID of the command within the specified menu group.