ViewFilter.InnerExec Method
Executes an IOleCommandTarget command.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.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
protected virtual int InnerExec(
ref Guid guidCmdGroup,
uint nCmdId,
uint nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
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.