다음을 통해 공유


IVsUIDispatch.Invoke Method

Invokes a verb on a 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] An argument for the verb.

  • pvaOut
    Type: Object%

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

Return Value

Type: Int32
Returns S_OK if the verb executed.

.NET Framework Security

See Also

Reference

IVsUIDispatch Interface

Microsoft.VisualStudio.Shell.Interop Namespace