OleCommandTargetHelper.Exec Method
Calls the execution command handler.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Function Exec ( _
ByRef pguidCmdGroup As Guid, _
cmdId As UInteger, _
nCmdexecopt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer
'Usage
Dim instance As OleCommandTargetHelper
Dim pguidCmdGroup As Guid
Dim cmdId As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer
returnValue = instance.Exec(pguidCmdGroup, _
cmdId, nCmdexecopt, pvaIn, pvaOut)
public int Exec(
ref Guid pguidCmdGroup,
uint cmdId,
uint nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
public:
virtual int Exec(
Guid% pguidCmdGroup,
unsigned int cmdId,
unsigned int nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
) sealed
public final function Exec(
pguidCmdGroup : Guid,
cmdId : uint,
nCmdexecopt : uint,
pvaIn : IntPtr,
pvaOut : IntPtr
) : int
abstract Exec :
pguidCmdGroup:Guid *
cmdId:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
override Exec :
pguidCmdGroup:Guid *
cmdId:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
Parameters
- pguidCmdGroup
Type: System.Guid%
The command group Guid
- cmdId
Type: System.UInt32
The command ID
- nCmdexecopt
Type: System.UInt32
The command exception option
- pvaIn
Type: System.IntPtr
The input value
- pvaOut
Type: System.IntPtr
The command output
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.
See Also
Reference
OleCommandTargetHelper Members
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace