Redigera

Dela via


NewLateBinding.FallbackInvokeDefault2 Method

Definition

Caution

do not use this method

Caution

FallbackInvokeDefault2 has been deprecated and is not supported.

Executes a late-bound get of the default property or field, or call to the default method or function. This helper method is not meant to be called directly from your code.

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

Parameters

Instance
Object

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

Arguments
Object[]

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

ArgumentNames
String[]

An array of argument names.

ReportErrors
Boolean

A Boolean value used to specify whether to throw exceptions when an error is encountered. Set to True to throw exceptions. Set to False to return Nothing when an error is encountered.

Returns

An instance of the call object.

Attributes

Applies to