SetIndexBinder.FallbackSetIndex 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果目標動態物件無法繫結,則會執行動態設定索引作業的繫結。
多載
FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject) |
如果目標動態物件無法繫結,則會執行動態設定索引作業的繫結。 |
FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject, DynamicMetaObject) |
在衍生類別中覆寫時,如果目標動態物件無法繫結,則會執行動態設定索引作業的繫結。 |
FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)
如果目標動態物件無法繫結,則會執行動態設定索引作業的繫結。
public:
System::Dynamic::DynamicMetaObject ^ FallbackSetIndex(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ indexes, System::Dynamic::DynamicMetaObject ^ value);
public System.Dynamic.DynamicMetaObject FallbackSetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject value);
member this.FallbackSetIndex : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public Function FallbackSetIndex (target As DynamicMetaObject, indexes As DynamicMetaObject(), value As DynamicMetaObject) As DynamicMetaObject
參數
- target
- DynamicMetaObject
動態定索引作業的目標。
- indexes
- DynamicMetaObject[]
動態設定索引作業的引數。
- value
- DynamicMetaObject
要設定給集合的值。
傳回
DynamicMetaObject 表示繫結結果。
適用於
FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject, DynamicMetaObject)
在衍生類別中覆寫時,如果目標動態物件無法繫結,則會執行動態設定索引作業的繫結。
public:
abstract System::Dynamic::DynamicMetaObject ^ FallbackSetIndex(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ indexes, System::Dynamic::DynamicMetaObject ^ value, System::Dynamic::DynamicMetaObject ^ errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackSetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject value, System.Dynamic.DynamicMetaObject errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackSetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject value, System.Dynamic.DynamicMetaObject? errorSuggestion);
abstract member FallbackSetIndex : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public MustOverride Function FallbackSetIndex (target As DynamicMetaObject, indexes As DynamicMetaObject(), value As DynamicMetaObject, errorSuggestion As DynamicMetaObject) As DynamicMetaObject
參數
- target
- DynamicMetaObject
動態定索引作業的目標。
- indexes
- DynamicMetaObject[]
動態設定索引作業的引數。
- value
- DynamicMetaObject
要設定給集合的值。
- errorSuggestion
- DynamicMetaObject
繫結失敗時要使用的繫結結果或 null。
傳回
DynamicMetaObject 表示繫結結果。