Edit

Share via


GetIndexBinder.FallbackGetIndex Method

Definition

Performs the binding of the dynamic get index operation if the target dynamic object cannot bind.

Overloads

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[])

Performs the binding of the dynamic get index operation if the target dynamic object cannot bind.

FallbackGetIndex(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.

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[])

Source:
GetIndexBinder.cs
Source:
GetIndexBinder.cs
Source:
GetIndexBinder.cs
Source:
GetIndexBinder.cs

Performs the binding of the dynamic get index operation if the target dynamic object cannot bind.

public System.Dynamic.DynamicMetaObject FallbackGetIndex(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes);

Parameters

target
DynamicMetaObject

The target of the dynamic get index operation.

indexes
DynamicMetaObject[]

The arguments of the dynamic get index operation.

Returns

The DynamicMetaObject representing the result of the binding.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

Source:
GetIndexBinder.cs
Source:
GetIndexBinder.cs
Source:
GetIndexBinder.cs
Source:
GetIndexBinder.cs

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

public abstract System.Dynamic.DynamicMetaObject FallbackGetIndex(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackGetIndex(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject? errorSuggestion);

Parameters

target
DynamicMetaObject

The target of the dynamic get index operation.

indexes
DynamicMetaObject[]

The arguments of the dynamic get index operation.

errorSuggestion
DynamicMetaObject

The binding result to use if binding fails, or null.

Returns

The DynamicMetaObject representing the result of the binding.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0