DataPackage.IOleCommandTarget.Exec Method
Executes the specified command or displays help for the command.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Private Function Exec ( _
ByRef pguidCmdGroup As Guid, _
cmdId As UInteger, _
cmdExecOpt As UInteger, _
vaIn As IntPtr, _
vaOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
int IOleCommandTarget.Exec(
ref Guid pguidCmdGroup,
uint cmdId,
uint cmdExecOpt,
IntPtr vaIn,
IntPtr vaOut
)
private:
virtual int Exec(
Guid% pguidCmdGroup,
unsigned int cmdId,
unsigned int cmdExecOpt,
IntPtr vaIn,
IntPtr vaOut
) sealed = IOleCommandTarget::Exec
private abstract Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
cmdExecOpt:uint32 *
vaIn:IntPtr *
vaOut:IntPtr -> int
private override Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
cmdExecOpt:uint32 *
vaIn:IntPtr *
vaOut:IntPtr -> int
JScript does not support explicit interface implementations.
Parameters
- pguidCmdGroup
Type: System.Guid%
- cmdId
Type: System.UInt32
- cmdExecOpt
Type: System.UInt32
- vaIn
Type: System.IntPtr
- vaOut
Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IOleCommandTarget.Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr)
.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.