NewLateBinding.FallbackInvokeDefault1 方法

定义

注意

do not use this method

注意

FallbackInvokeDefault1 has been deprecated and is not supported.

执行默认属性或字段的后期绑定获取,或执行对默认方法或函数的调用。 此帮助器方法不宜从您的代码直接调用。

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

参数

Instance
Object

公开属性或方法的调用对象的实例。 如果 Instance 的类型为 IDynamicMetaObjectProvider,则使用动态语言运行时进行绑定;否则执行标准后期绑定。

Arguments
Object[]

一个数组,包含要传递给正在被调用的属性或方法的参数。

ArgumentNames
String[]

参数名称的数组。

ReportErrors
Boolean

一个 Boolean 值,用于指定在遇到错误时是否引发异常。 设置为 True 可引发异常。 设置为 False 可在遇到错误时返回 Nothing

返回

调用对象的实例。

属性

适用于