Share via


ArrayModelBinder<TElement>.CopyToModel Method

Definition

Adds values from sourceCollection to given target.

protected:
 override void CopyToModel(System::Object ^ target, System::Collections::Generic::IEnumerable<TElement> ^ sourceCollection);
protected override void CopyToModel (object target, System.Collections.Generic.IEnumerable<TElement> sourceCollection);
protected override void CopyToModel (object target, System.Collections.Generic.IEnumerable<TElement?> sourceCollection);
override this.CopyToModel : obj * seq<'Element> -> unit
Protected Overrides Sub CopyToModel (target As Object, sourceCollection As IEnumerable(Of TElement))

Parameters

target
Object

Object into which values are copied.

sourceCollection
IEnumerable<TElement>

Collection of values retrieved from value providers. null if nothing was bound.

Applies to