ImmutableList<T>.Insert(Int32, T) 메서드

정의

변경할 수 없는 목록의 지정된 인덱스에 지정된 개체를 삽입합니다.

public:
 System::Collections::Immutable::ImmutableList<T> ^ Insert(int index, T item);
public System.Collections.Immutable.ImmutableList<T> Insert (int index, T item);
member this.Insert : int * 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function Insert (index As Integer, item As T) As ImmutableList(Of T)

매개 변수

index
Int32

개체를 삽입할 0부터 시작하는 인덱스입니다.

item
T

삽입할 개체입니다.

반환

개체가 삽입된 이후의 변경할 수 없는 새 목록입니다.

적용 대상