Redigera

Dela via


NewLateBinding.FallbackCall Method

Definition

Caution

do not use this method

Caution

FallbackCall has been deprecated and is not supported.

Executes a late-bound method or function call. This helper method is not meant to be called directly from your code.

public:
 static System::Object ^ FallbackCall(System::Object ^ Instance, System::String ^ MemberName, cli::array <System::Object ^> ^ Arguments, cli::array <System::String ^> ^ ArgumentNames, bool IgnoreReturn);
[System.Obsolete("do not use this method", true)]
public static object? FallbackCall (object Instance, string MemberName, object[] Arguments, string[] ArgumentNames, bool IgnoreReturn);
[System.Obsolete("FallbackCall has been deprecated and is not supported.", true)]
public static object? FallbackCall (object Instance, string MemberName, object[] Arguments, string[] ArgumentNames, bool IgnoreReturn);
[System.Obsolete("do not use this method", true)]
public static object FallbackCall (object Instance, string MemberName, object[] Arguments, string[] ArgumentNames, bool IgnoreReturn);
[<System.Obsolete("do not use this method", true)>]
static member FallbackCall : obj * string * obj[] * string[] * bool -> obj
[<System.Obsolete("FallbackCall has been deprecated and is not supported.", true)>]
static member FallbackCall : obj * string * obj[] * string[] * bool -> obj
Public Shared Function FallbackCall (Instance As Object, MemberName As String, Arguments As Object(), ArgumentNames As String(), IgnoreReturn As Boolean) As Object

Parameters

Instance
Object

An instance of the call object exposing the property or method.

MemberName
String

The name of the property or method on the call object.

Arguments
Object[]

An array containing the arguments to be passed to the property or method being called.

ArgumentNames
String[]

An array of argument names.

IgnoreReturn
Boolean

A Boolean value indicating whether or not the return value can be ignored.

Returns

An instance of the call object.

Attributes

Remarks

Similar to CallByName.

Applies to