Edit

Share via


NewLateBinding.LateCallInvokeDefault Method

Definition

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

public:
 static System::Object ^ LateCallInvokeDefault(System::Object ^ Instance, cli::array <System::Object ^> ^ Arguments, cli::array <System::String ^> ^ ArgumentNames, bool ReportErrors);
public static object? LateCallInvokeDefault (object? Instance, object?[]? Arguments, string?[]? ArgumentNames, bool ReportErrors);
public static object LateCallInvokeDefault (object Instance, object[] Arguments, string[] ArgumentNames, bool ReportErrors);
static member LateCallInvokeDefault : obj * obj[] * string[] * bool -> obj
Public Shared Function LateCallInvokeDefault (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.

Applies to