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 이 참조 형식인 경우 null인 요소를 포함할 T수 있습니다.

적용 대상