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

삽입할 개체입니다.

반품

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

적용 대상