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

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft