ImmutableList<T>.Builder.InsertRange 메서드

정의

변경할 수 없는 목록의 지정된 인덱스에 컬렉션의 요소를 삽입합니다.

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

새 요소가 삽입되어야 하는 0부터 시작하는 인덱스입니다.

items
IEnumerable<T>

변경할 수 없는 목록에 요소를 삽입해야 하는 컬렉션입니다. 컬렉션 자체는 일 수 없지만 null형식 T 이 참조 형식인 경우 null인 요소를 포함할 수 있습니다.

적용 대상