แก้ไข

แชร์ผ่าน


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

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, cli::array <System::Dynamic::DynamicMetaObject ^> ^ indexes);
public System.Dynamic.DynamicMetaObject FallbackGetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes);
member this.FallbackGetIndex : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] -> System.Dynamic.DynamicMetaObject
Public Function FallbackGetIndex (target As DynamicMetaObject, indexes As DynamicMetaObject()) As DynamicMetaObject

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

FallbackGetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

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, cli::array <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);
public abstract System.Dynamic.DynamicMetaObject FallbackGetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject? errorSuggestion);
abstract member FallbackGetIndex : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public MustOverride Function FallbackGetIndex (target As DynamicMetaObject, indexes As DynamicMetaObject(), errorSuggestion As DynamicMetaObject) As DynamicMetaObject

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