NewLateBinding.FallbackCall 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
do not use this method
警告
FallbackCall has been deprecated and is not supported.
執行晚期繫結方法或函式呼叫。 這個 Helper 方法並不適合從您的程式碼直接呼叫。
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。