LinkedElementCollection<T>.InsertRange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将一系列元素插入到集合中的指定索引处。
public:
void InsertRange(int index, System::Collections::Generic::IEnumerable<T> ^ collection);
public void InsertRange (int index, System.Collections.Generic.IEnumerable<T> collection);
member this.InsertRange : int * seq<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> unit
Public Sub InsertRange (index As Integer, collection As IEnumerable(Of T))
参数
- index
- Int32
第一个插入元素的索引。
- collection
- IEnumerable<T>
要插入的元素。