ViewFilter.InnerExec Method
Executes an IOleCommandTarget command.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
‘선언
Protected Overridable Function InnerExec ( _
ByRef guidCmdGroup As Guid, _
nCmdId As UInteger, _
nCmdexecopt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer
‘사용 방법
Dim guidCmdGroup As Guid
Dim nCmdId As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer
returnValue = Me.InnerExec(guidCmdGroup, _
nCmdId, nCmdexecopt, pvaIn, pvaOut)
protected virtual int InnerExec(
ref Guid guidCmdGroup,
uint nCmdId,
uint nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
protected:
virtual int InnerExec(
Guid% guidCmdGroup,
unsigned int nCmdId,
unsigned int nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
abstract InnerExec :
guidCmdGroup:Guid byref *
nCmdId:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
override InnerExec :
guidCmdGroup:Guid byref *
nCmdId:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
protected function InnerExec(
guidCmdGroup : Guid,
nCmdId : uint,
nCmdexecopt : uint,
pvaIn : IntPtr,
pvaOut : IntPtr
) : int
Parameters
- guidCmdGroup
Type: System.Guid%
The GUID of the command group to which the command belongs.
- nCmdId
Type: System.UInt32
The command ID.
- nCmdexecopt
Type: System.UInt32
Values from the OLECMDEXECOPT enumeration, which specify how to execute the command.
- pvaIn
Type: System.IntPtr
A pointer to a VARIANTARG structure containing input arguments. Can be nulla null reference (Nothing in Visual Basic).
- pvaOut
Type: System.IntPtr
A pointer to a VARIANTARG structure to receive command output. Can be nulla null reference (Nothing in Visual Basic).
Return Value
Type: System.Int32
S_OK if the method succeeded, otherwise an error code.
.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.