Partilhar via


CollectionModelBinder<TElement>.CopyToModel Método

Definição

Adiciona valores de sourceCollection a determinado 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 nos quais os valores são copiados.

sourceCollection
IEnumerable<TElement>

Coleção de valores recuperados de provedores de valor. null se nada estava associado.

Aplica-se a