Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣言
Function Exec ( _
ByRef pguidCmdGroup As Guid, _
nCmdID As UInteger, _
nCmdexecopt As UInteger, _
ByRef pvaIn As Object, _
<OutAttribute> ByRef pvaOut As Object _
) As Integer
'使用
Dim instance As IVsIntellisenseHost
Dim pguidCmdGroup As Guid
Dim nCmdID As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As Object
Dim pvaOut As Object
Dim returnValue As Integer
returnValue = instance.Exec(pguidCmdGroup, _
nCmdID, nCmdexecopt, pvaIn, pvaOut)
int Exec(
ref Guid pguidCmdGroup,
uint nCmdID,
uint nCmdexecopt,
ref Object pvaIn,
out Object pvaOut
)
int Exec(
[InAttribute] Guid% pguidCmdGroup,
[InAttribute] unsigned int nCmdID,
[InAttribute] unsigned int nCmdexecopt,
[InAttribute] Object^% pvaIn,
[InAttribute] [OutAttribute] Object^% pvaOut
)
function Exec(
pguidCmdGroup : Guid,
nCmdID : uint,
nCmdexecopt : uint,
pvaIn : Object,
pvaOut : Object
) : int
Parameters
pguidCmdGroup
Type: System.Guid%
nCmdID
Type: System.UInt32
nCmdexecopt
Type: System.UInt32
pvaIn
Type: System.Object%
pvaOut
Type: System.Object%
Return Value
Type: System.Int32
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.