GetIndexBinder.FallbackGetIndex Method (DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

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

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

public abstract DynamicMetaObject FallbackGetIndex(
	DynamicMetaObject target,
	DynamicMetaObject[] indexes,
	DynamicMetaObject errorSuggestion
)

Parameters

target
Type: System.Dynamic.DynamicMetaObject

The target of the dynamic get index operation.

indexes
Type: System.Dynamic.DynamicMetaObject[]

The arguments of the dynamic get index operation.

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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft