Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Class constructor. Initializes a new instance of the OleCommand class with command group identifier and command identifier.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
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
)
Parameters
groupGuid
Type: System.GuidGUID of the menu group for the specified command.
commandId
Type: System.Int32The ID of the command within the specified menu group.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.