Compartir a través de


IVsDataSupportObject<T>.Invoke Method

Invokes a method on the object with additional parameters not present in the method signature.

Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)

Syntax

'Declaration
Function Invoke ( _
    name As String, _
    args As Object(), _
    parameters As Object() _
) As Object
Object Invoke(
    string name,
    Object[] args,
    Object[] parameters
)
Object^ Invoke(
    String^ name, 
    array<Object^>^ args, 
    array<Object^>^ parameters
)
abstract Invoke : 
        name:string * 
        args:Object[] * 
        parameters:Object[] -> Object
function Invoke(
    name : String, 
    args : Object[], 
    parameters : Object[]
) : Object

Parameters

  • args
    Type: array<System.Object[]

    The regular arguments to pass to the method.

  • parameters
    Type: array<System.Object[]

    Additional parameters to pass to the method.

Return Value

Type: System.Object
The return value of the method, if any; otherwise, nulla null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
[any]

The method called threw an exception.

.NET Framework Security

See Also

Reference

IVsDataSupportObject<T> Interface

Microsoft.VisualStudio.Data.Core Namespace