Edit

Share via


NewLateBinding.FallbackInvokeDefault1 Method

Definition

Caution

do not use this method

Caution

FallbackInvokeDefault1 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 ^ FallbackInvokeDefault1(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? FallbackInvokeDefault1 (object Instance, object[] Arguments, string[] ArgumentNames, bool ReportErrors);
[System.Obsolete("FallbackInvokeDefault1 has been deprecated and is not supported.", true)]
public static object? FallbackInvokeDefault1 (object Instance, object[] Arguments, string[] ArgumentNames, bool ReportErrors);
[System.Obsolete("do not use this method", true)]
public static object FallbackInvokeDefault1 (object Instance, object[] Arguments, string[] ArgumentNames, bool ReportErrors);
[<System.Obsolete("do not use this method", true)>]
static member FallbackInvokeDefault1 : obj * obj[] * string[] * bool -> obj
[<System.Obsolete("FallbackInvokeDefault1 has been deprecated and is not supported.", true)>]
static member FallbackInvokeDefault1 : obj * obj[] * string[] * bool -> obj
Public Shared Function FallbackInvokeDefault1 (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. If Instance is of type IDynamicMetaObjectProvider, then bind using the Dynamic Language Runtime; otherwise perform standard late-binding.

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