Compartilhar via


OleCommand(Guid, Int32) Constructor

Definition

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.

Applies to