共用方式為


CreateInstanceBinder.FallbackCreateInstance 方法

定義

如果目標動態物件無法繫結,則會執行動態建立作業的繫結。

多載

FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[])

如果目標動態物件無法繫結,則會執行動態建立作業的繫結。

FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

在衍生類別中覆寫時,如果目標動態物件無法繫結,則會執行動態建立作業的繫結。

FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[])

來源:
CreateInstanceBinder.cs
來源:
CreateInstanceBinder.cs
來源:
CreateInstanceBinder.cs

如果目標動態物件無法繫結,則會執行動態建立作業的繫結。

public:
 System::Dynamic::DynamicMetaObject ^ FallbackCreateInstance(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ args);
public System.Dynamic.DynamicMetaObject FallbackCreateInstance (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args);
member this.FallbackCreateInstance : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] -> System.Dynamic.DynamicMetaObject
Public Function FallbackCreateInstance (target As DynamicMetaObject, args As DynamicMetaObject()) As DynamicMetaObject

參數

target
DynamicMetaObject

動態建立作業的目標。

args
DynamicMetaObject[]

動態建立作業的引數。

傳回

DynamicMetaObject 表示繫結結果。

適用於

FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

來源:
CreateInstanceBinder.cs
來源:
CreateInstanceBinder.cs
來源:
CreateInstanceBinder.cs

在衍生類別中覆寫時,如果目標動態物件無法繫結,則會執行動態建立作業的繫結。

public:
 abstract System::Dynamic::DynamicMetaObject ^ FallbackCreateInstance(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ args, System::Dynamic::DynamicMetaObject ^ errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackCreateInstance (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackCreateInstance (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject? errorSuggestion);
abstract member FallbackCreateInstance : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public MustOverride Function FallbackCreateInstance (target As DynamicMetaObject, args As DynamicMetaObject(), errorSuggestion As DynamicMetaObject) As DynamicMetaObject

參數

target
DynamicMetaObject

動態建立作業的目標。

args
DynamicMetaObject[]

動態建立作業的引數。

errorSuggestion
DynamicMetaObject

繫結失敗時要使用的繫結結果或 null。

傳回

DynamicMetaObject 表示繫結結果。

適用於