Redigera

Dela via


SetIndexBinder.FallbackSetIndex Method

Definition

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

Overloads

FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

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

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

FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

Source:
SetIndexBinder.cs
Source:
SetIndexBinder.cs
Source:
SetIndexBinder.cs

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

public:
 System::Dynamic::DynamicMetaObject ^ FallbackSetIndex(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ indexes, System::Dynamic::DynamicMetaObject ^ value);
public System.Dynamic.DynamicMetaObject FallbackSetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject value);
member this.FallbackSetIndex : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public Function FallbackSetIndex (target As DynamicMetaObject, indexes As DynamicMetaObject(), value As DynamicMetaObject) As DynamicMetaObject

Parameters

target
DynamicMetaObject

The target of the dynamic set index operation.

indexes
DynamicMetaObject[]

The arguments of the dynamic set index operation.

value
DynamicMetaObject

The value to set to the collection.

Returns

The DynamicMetaObject representing the result of the binding.

Applies to

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

Source:
SetIndexBinder.cs
Source:
SetIndexBinder.cs
Source:
SetIndexBinder.cs

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

public:
 abstract System::Dynamic::DynamicMetaObject ^ FallbackSetIndex(System::Dynamic::DynamicMetaObject ^ target, cli::array <System::Dynamic::DynamicMetaObject ^> ^ indexes, System::Dynamic::DynamicMetaObject ^ value, System::Dynamic::DynamicMetaObject ^ errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackSetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject value, System.Dynamic.DynamicMetaObject errorSuggestion);
public abstract System.Dynamic.DynamicMetaObject FallbackSetIndex (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] indexes, System.Dynamic.DynamicMetaObject value, System.Dynamic.DynamicMetaObject? errorSuggestion);
abstract member FallbackSetIndex : System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject[] * System.Dynamic.DynamicMetaObject * System.Dynamic.DynamicMetaObject -> System.Dynamic.DynamicMetaObject
Public MustOverride Function FallbackSetIndex (target As DynamicMetaObject, indexes As DynamicMetaObject(), value As DynamicMetaObject, errorSuggestion As DynamicMetaObject) As DynamicMetaObject

Parameters

target
DynamicMetaObject

The target of the dynamic set index operation.

indexes
DynamicMetaObject[]

The arguments of the dynamic set index operation.

value
DynamicMetaObject

The value to set to the collection.

errorSuggestion
DynamicMetaObject

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

Returns

The DynamicMetaObject representing the result of the binding.

Applies to