. Method
Forward the exe to the command target helper which will forward to any dispatchers registered to it.
Namespace: Microsoft.VisualStudio.Data.Tools.Package.QueryResults
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
Private Function Exec ( _
ByRef pguidCmdGroup As Guid, _
cmdId As UInteger, _
nCmdexecopt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
'Usage
Dim instance As QueryResultsEditorPane
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 = CType(instance, IOleCommandTarget).Exec(pguidCmdGroup, _
cmdId, nCmdexecopt, pvaIn, pvaOut)
int IOleCommandTarget.Exec(
ref Guid pguidCmdGroup,
uint cmdId,
uint nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
private:
virtual int Exec(
Guid% pguidCmdGroup,
unsigned int cmdId,
unsigned int nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
) sealed = IOleCommandTarget::Exec
private abstract Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
private override Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- pguidCmdGroup
Type: System..::..Guid%
- cmdId
Type: System..::..UInt32
- nCmdexecopt
Type: System..::..UInt32
- pvaIn
Type: System..::..IntPtr
- pvaOut
Type: System..::..IntPtr
Return Value
Type: System..::..Int32
Implements
IOleCommandTargetExec(Guid%, UInt32, UInt32, IntPtr, IntPtr)
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.QueryResults Namespace