NewLateBinding.FallbackCall 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
do not use this method
注意
FallbackCall has been deprecated and is not supported.
执行后期绑定方法或函数调用。 此帮助器方法不宜从您的代码直接调用。
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("FallbackCall has been deprecated and is not supported.", 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
[<System.Obsolete("FallbackCall has been deprecated and is not supported.", true)>]
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
公开属性或方法的调用对象的实例。
- MemberName
- String
调用对象上的属性或方法的名称。
- Arguments
- Object[]
一个数组,包含要传递给正在被调用的属性或方法的参数。
- ArgumentNames
- String[]
参数名称的数组。
- IgnoreReturn
- Boolean
一个 Boolean
值,指示是否可以忽略返回值。
返回
调用对象的实例。
- 属性
注解
类似于 CallByName。