ArrayModelBinder<TElement>.CopyToModel 方法

定义

将 中的 sourceCollection 值添加到给定 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))

参数

target
Object

Object 将值复制到其中。

sourceCollection
IEnumerable<TElement>

从值提供程序检索到的值的集合。 null 如果未绑定任何内容,则为 。

适用于