OleCommand (Constructor)

Constructor de clase.Inicializa una nueva instancia de la clase de OleCommand con el identificador y el identificador de comandos del grupo de comando.

Espacio de nombres:  Microsoft.VisualStudio.Data
Ensamblado:  Microsoft.VisualStudio.Data (en Microsoft.VisualStudio.Data.dll)

Sintaxis

'Declaración
Public Sub New ( _
    groupGuid As Guid, _
    commandId As Integer _
)
public OleCommand(
    Guid groupGuid,
    int commandId
)
public:
OleCommand(
    Guid groupGuid, 
    int commandId
)
new : 
        groupGuid:Guid * 
        commandId:int -> OleCommand
public function OleCommand(
    groupGuid : Guid, 
    commandId : int
)

Parámetros

  • groupGuid
    Tipo: System.Guid
    GUID del grupo de menús para el comando especificado.
  • commandId
    Tipo: System.Int32
    El id. de comando dentro del grupo de menús especificado.

Seguridad de .NET Framework

Vea también

Referencia

OleCommand Clase

Microsoft.VisualStudio.Data (Espacio de nombres)