IVsUIDispatch.Invoke Method

Invokes a verb on a data source.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function Invoke ( _
    verb As String, _
    pvaIn As Object, _
    <OutAttribute> ByRef pvaOut As Object _
) As Integer
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

  • pvaOut
    Type: System.Object%

    [out] Location to return the results of executing the verb.

Return Value

Type: System.Int32
Returns S_OK if the verb executed.

.NET Framework Security

See Also

Reference

IVsUIDispatch Interface

Microsoft.VisualStudio.Shell.Interop Namespace