Partager via


IVsUIDataSource.Invoke Method

Invokes a verb on the data source.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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

  • verb
    Type: String

    [in] The name of the verb to execute.

  • pvaIn
    Type: Object

    [in] The object containing arguments for the verb.

  • pvaOut
    Type: Object%

    [out] Location to return a pointer to the interface for the result of the verb.

Return Value

Type: Int32
Returns S_OK if the verb executed.

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

Microsoft.VisualStudio.Shell.Interop Namespace