Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
声明
Function Invoke ( _
    verb As String, _
    pvaIn As Object, _
    <OutAttribute> ByRef pvaOut As Object _
) As Integer
用法
Dim instance As IVsUIDispatch
Dim verb As String
Dim pvaIn As Object
Dim pvaOut As Object
Dim returnValue As Integer
returnValue = instance.Invoke(verb, pvaIn, _
    pvaOut)
int Invoke(
    string verb,
    Object pvaIn,
    out Object pvaOut
)
int Invoke(
    [InAttribute] String^ verb, 
    [InAttribute] Object^ pvaIn, 
    [OutAttribute] Object^% pvaOut
)
abstract Invoke : 
        verb:string * 
        pvaIn:Object * 
        pvaOut:Object byref -> int 
function Invoke(
    verb : String, 
    pvaIn : Object, 
    pvaOut : Object
) : int
Parameters
- verb
 Type: System.String
- pvaIn
 Type: System.Object
- pvaOut
 Type: System.Object%
Return Value
Type: System.Int32
.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.