SetIndexBinder.FallbackSetIndex 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果目标动态对象无法绑定,则执行动态集索引操作的绑定。
重载
FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject) |
如果目标动态对象无法绑定,则执行动态集索引操作的绑定。 |
FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject, DynamicMetaObject) |
在派生类中重写时,如果目标动态对象无法绑定,则执行动态集索引操作的绑定。 |
FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)
- Source:
- SetIndexBinder.cs
- Source:
- SetIndexBinder.cs
- Source:
- SetIndexBinder.cs
如果目标动态对象无法绑定,则执行动态集索引操作的绑定。
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)
- Source:
- SetIndexBinder.cs
- Source:
- SetIndexBinder.cs
- Source:
- SetIndexBinder.cs
在派生类中重写时,如果目标动态对象无法绑定,则执行动态集索引操作的绑定。
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。