WindowPane.IOleCommandTarget.Exec Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Function Exec ( _
ByRef guidGroup As Guid, _
nCmdId As UInteger, _
nCmdExcept As UInteger, _
pIn As IntPtr, _
vOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
'使用
Dim instance As WindowPane
Dim guidGroup As Guid
Dim nCmdId As UInteger
Dim nCmdExcept As UInteger
Dim pIn As IntPtr
Dim vOut As IntPtr
Dim returnValue As Integer
returnValue = CType(instance, IOleCommandTarget).Exec(guidGroup, _
nCmdId, nCmdExcept, pIn, vOut)
int IOleCommandTarget.Exec(
ref Guid guidGroup,
uint nCmdId,
uint nCmdExcept,
IntPtr pIn,
IntPtr vOut
)
private:
virtual int Exec(
Guid% guidGroup,
unsigned int nCmdId,
unsigned int nCmdExcept,
IntPtr pIn,
IntPtr vOut
) sealed = IOleCommandTarget::Exec
JScript does not support explicit interface implementations.
Parameters
- guidGroup
Type: System.Guid%
- nCmdId
Type: System.UInt32
- nCmdExcept
Type: System.UInt32
- pIn
Type: System.IntPtr
- vOut
Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IOleCommandTarget.Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr)
Permissions
- 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.