LinkedElementCollection<T>.AddRange(IEnumerable<T>) 方法

定义

向集合末尾追加一系列元素。

public:
 void AddRange(System::Collections::Generic::IEnumerable<T> ^ collection);
public void AddRange (System.Collections.Generic.IEnumerable<T> collection);
member this.AddRange : seq<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> unit
Public Sub AddRange (collection As IEnumerable(Of T))

参数

collection
IEnumerable<T>

要追加的元素。

适用于