Share via


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

정의

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

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Insert(int index, T item) = System::Collections::Immutable::IImmutableList<T>::Insert;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Insert (int index, T item);
abstract member System.Collections.Immutable.IImmutableList<T>.Insert : int * 'T -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Insert : int * 'T -> System.Collections.Immutable.IImmutableList<'T>
Function Insert (index As Integer, item As T) As IImmutableList(Of T) Implements IImmutableList(Of T).Insert

매개 변수

index
Int32

값을 삽입할 인덱스입니다.

item
T

삽입할 요소입니다.

반환

지정된 요소가 포함된 변경할 수 없는 새 목록입니다.

구현

설명

이 멤버는 명시적 인터페이스 멤버 구현이며, ImmutableList<T> 인스턴스가 IImmutableList<T> 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상