Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes 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] An argument for the verb. 
- pvaOut 
 Type: Object%- [out] Location to return the results of the operation. 
Return Value
Type: Int32
Returns S_OK if the verb executed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.