다음을 통해 공유


ArrayModelBinder<TElement>.CreateOrReplaceCollection 메서드

정의

컬렉션을 배열로 변환합니다.

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

매개 변수

modelBindingExecutionContext
ModelBindingExecutionContext

실행 컨텍스트입니다.

bindingContext
ModelBindingContext

바인딩 컨텍스트입니다.

newCollection
IList<TElement>

새 컬렉션을 반환합니다.

반환

Boolean

모든 경우에 true입니다.

적용 대상