Freigeben über


IVsDataSupportObject<T>.Invoke(String, Object[], Object[]) Method

Definition

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

public:
 System::Object ^ Invoke(System::String ^ name, cli::array <System::Object ^> ^ args, cli::array <System::Object ^> ^ parameters);
public object Invoke (string name, object[] args, object[] parameters);
abstract member Invoke : string * obj[] * obj[] -> obj
Public Function Invoke (name As String, args As Object(), parameters As Object()) As Object

Parameters

name
String

The name of a method on the object.

args
Object[]

The regular arguments to pass to the method.

parameters
Object[]

Additional parameters to pass to the method.

Returns

The return value of the method, if any; otherwise, null.

Exceptions

any

The method called threw an exception.

Applies to