ImmutableList<T>.Builder.InsertRange 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將集合的項目插入不可變清單的指定索引處。
public:
void InsertRange(int index, System::Collections::Generic::IEnumerable<T> ^ items);
public void InsertRange (int index, System.Collections.Generic.IEnumerable<T> items);
member this.InsertRange : int * seq<'T> -> unit
Public Sub InsertRange (index As Integer, items As IEnumerable(Of T))
參數
- index
- Int32
應插入新項目處的以零為起始的索引。
- items
- IEnumerable<T>
應將其項目插入不可變清單的集合。 如果 type 是參考型 T
別,則集合本身不能是 null
,但可以包含 null 的專案。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將推出:在 2024 年,我們將隨著內容的意見反應機制逐步淘汰 GitHub 問題,並以新的意見反應系統來取代。 如需詳細資訊,請參閱提交並檢視相關的意見反應