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

정의

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

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

매개 변수

index
Int32

값을 삽입할 0부터 시작하는 인덱스입니다.

element
T

삽입할 개체입니다.

반환

IImmutableList<T>

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

적용 대상