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

정의

지정된 위치에 지정된 값이 삽입된 새 배열을 반환합니다.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Insert(int index, T element) = System::Collections::Immutable::IImmutableList<T>::Insert;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Insert (int index, T element);
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, element As T) As IImmutableList(Of T) Implements IImmutableList(Of T).Insert

매개 변수

index
Int32

새 항목을 추가해야 하는 배열의 0부터 시작하는 인덱스입니다.

element
T

배열의 시작 부분에 삽입할 항목입니다.

반환

지정된 값이 삽입된 새 배열입니다.

구현

설명

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

적용 대상