Partager via


IVsUIDispatch.Invoke Method

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

Syntax

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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUIDispatch Interface

IVsUIDispatch Members

Microsoft.VisualStudio.Shell.Interop Namespace