Aracılığıyla paylaş


ArrayModelBinder<TElement>.CreateOrReplaceCollection Yöntem

Tanım

Koleksiyonu bir diziye dönüştürür.

protected:
 override bool CreateOrReplaceCollection(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelBindingContext ^ bindingContext, System::Collections::Generic::IList<TElement> ^ newCollection);
protected override bool CreateOrReplaceCollection (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext, System.Collections.Generic.IList<TElement> newCollection);
override this.CreateOrReplaceCollection : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext * System.Collections.Generic.IList<'Element> -> bool
Protected Overrides Function CreateOrReplaceCollection (modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext, newCollection As IList(Of TElement)) As Boolean

Parametreler

modelBindingExecutionContext
ModelBindingExecutionContext

Yürütme bağlamı.

bindingContext
ModelBindingContext

Bağlama bağlamı.

newCollection
IList<TElement>

Yeni koleksiyon.

Döndürülenler

Boolean

Her durumda true.

Şunlara uygulanır