Compartir a través de


CollectionModelBinder<TElement>.CopyToModel Método

Definición

Agrega valores de sourceCollection a dado target.

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

Parámetros

target
Object

Object en qué valores se copian.

sourceCollection
IEnumerable<TElement>

Colección de valores recuperados de proveedores de valores. null si nada estaba enlazado.

Se aplica a