. Method
Helper method to execute command
Namespace: Microsoft.VisualStudio.Data.Tools.Package.DataToolsOperations
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
Private Function Exec ( _
ByRef pguidCmdGroup As Guid, _
nCmdId As UInteger, _
nCmdexecopt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
'Usage
Dim instance As DataToolsOperationsToolWindow
Dim pguidCmdGroup As Guid
Dim nCmdId As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer
returnValue = CType(instance, IOleCommandTarget).Exec(pguidCmdGroup, _
nCmdId, nCmdexecopt, pvaIn, pvaOut)
int IOleCommandTarget.Exec(
ref Guid pguidCmdGroup,
uint nCmdId,
uint nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
private:
virtual int Exec(
Guid% pguidCmdGroup,
unsigned int nCmdId,
unsigned int nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
) sealed = IOleCommandTarget::Exec
private abstract Exec :
pguidCmdGroup:Guid byref *
nCmdId:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
private override Exec :
pguidCmdGroup:Guid byref *
nCmdId: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%
- nCmdId
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
DataToolsOperationsToolWindow Class
Microsoft.VisualStudio.Data.Tools.Package.DataToolsOperations Namespace