Bagikan melalui


IVsUIDynamicCollection.Invoke Method

Invokes a verb on the collection.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  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 result.

Return Value

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

Implements

IVsUICollection.Invoke(String, Object, Object%)

.NET Framework Security

See Also

Reference

IVsUIDynamicCollection Interface

Microsoft.VisualStudio.Shell.Interop Namespace