NewLateBinding.FallbackCall(Object, String, Object[], String[], Boolean) 方法

定义

注意

do not use this method

执行后期绑定方法或函数调用。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("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
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

参数

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

一个 Boolean 值,指示是否可以忽略返回值。A Boolean value indicating whether or not the return value can be ignored.

返回

Object

调用对象的实例。An instance of the call object.

属性

注解

类似于 CallByNameSimilar to CallByName.

适用于