SetIndexBinder.FallbackSetIndex Method (DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject, DynamicMetaObject)

When overridden in the derived class, performs the binding of the dynamic set index operation if the target dynamic object cannot bind.

Namespace:  System.Dynamic
Assembly:  System.Core (in System.Core.dll)

public abstract DynamicMetaObject FallbackSetIndex(
	DynamicMetaObject target,
	DynamicMetaObject[] indexes,
	DynamicMetaObject value,
	DynamicMetaObject errorSuggestion
)

Parameters

target
Type: System.Dynamic.DynamicMetaObject
The target of the dynamic set index operation.
indexes
Type: System.Dynamic.DynamicMetaObject[]
The arguments of the dynamic set index operation.
value
Type: System.Dynamic.DynamicMetaObject
The value to set to the collection.
errorSuggestion
Type: System.Dynamic.DynamicMetaObject
The binding result to use if binding fails, or null.

Return Value

Type: System.Dynamic.DynamicMetaObject
The DynamicMetaObject representing the result of the binding.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: