共用方式為


GetIndexBinder.FallbackGetIndex 方法

定義

如果目標動態物件無法繫結,則會執行動態取得索引作業的繫結。

多載

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[])

如果目標動態物件無法繫結,則會執行動態取得索引作業的繫結。

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

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

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[])

來源:
GetIndexBinder.cs
來源:
GetIndexBinder.cs
來源:
GetIndexBinder.cs

如果目標動態物件無法繫結,則會執行動態取得索引作業的繫結。

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

參數

target
DynamicMetaObject

動態取得索引作業的目標。

indexes
DynamicMetaObject[]

動態取得索引作業的引數。

傳回

DynamicMetaObject 表示繫結結果。

適用於

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

來源:
GetIndexBinder.cs
來源:
GetIndexBinder.cs
來源:
GetIndexBinder.cs

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

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

參數

target
DynamicMetaObject

動態取得索引作業的目標。

indexes
DynamicMetaObject[]

動態取得索引作業的引數。

errorSuggestion
DynamicMetaObject

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

傳回

DynamicMetaObject 表示繫結結果。

適用於