Bagikan melalui


SetIndexBinder.FallbackSetIndex Metode

Definisi

Melakukan pengikatan operasi indeks set dinamis jika objek dinamis target tidak dapat mengikat.

Overload

FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

Melakukan pengikatan operasi indeks set dinamis jika objek dinamis target tidak dapat mengikat.

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

Saat ditimpa di kelas turunan, lakukan pengikatan operasi indeks set dinamis jika objek dinamis target tidak dapat mengikat.

FallbackSetIndex(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

Sumber:
SetIndexBinder.cs
Sumber:
SetIndexBinder.cs
Sumber:
SetIndexBinder.cs

Melakukan pengikatan operasi indeks set dinamis jika objek dinamis target tidak dapat mengikat.

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

Parameter

target
DynamicMetaObject

Target operasi indeks set dinamis.

indexes
DynamicMetaObject[]

Argumen operasi indeks set dinamis.

value
DynamicMetaObject

Nilai yang akan diatur ke koleksi.

Mengembalikan

DynamicMetaObject yang mewakili hasil pengikatan.

Berlaku untuk

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

Sumber:
SetIndexBinder.cs
Sumber:
SetIndexBinder.cs
Sumber:
SetIndexBinder.cs

Saat ditimpa di kelas turunan, lakukan pengikatan operasi indeks set dinamis jika objek dinamis target tidak dapat mengikat.

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

Parameter

target
DynamicMetaObject

Target operasi indeks set dinamis.

indexes
DynamicMetaObject[]

Argumen operasi indeks set dinamis.

value
DynamicMetaObject

Nilai yang akan diatur ke koleksi.

errorSuggestion
DynamicMetaObject

Hasil pengikatan yang akan digunakan jika pengikatan gagal, atau null.

Mengembalikan

DynamicMetaObject yang mewakili hasil pengikatan.

Berlaku untuk