ImmutableArray<T>.IImmutableList<T>.SetItem(Int32, T) 메서드
정의
지정된 인덱스에 있는 항목을 지정된 항목으로 바꿉니다.Replaces the item at the specified index with the specified item.
virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.SetItem(int index, T value) = System::Collections::Immutable::IImmutableList<T>::SetItem;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.SetItem (int index, T value);
abstract member System.Collections.Immutable.IImmutableList<T>.SetItem : int * 'T -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.SetItem : int * 'T -> System.Collections.Immutable.IImmutableList<'T>
Function SetItem (index As Integer, value As T) As IImmutableList(Of T) Implements IImmutableList(Of T).SetItem
매개 변수
- index
- Int32
바꿀 항목의 인덱스입니다.The index of the item to replace.
- value
- T
목록에 추가할 값입니다.The value to add to the list.
반환
지정된 인덱스에 있는 item
을 포함하는 새 배열입니다.The new array that contains item
at the specified index.
구현
설명
이 멤버는 명시적 인터페이스 멤버 구현이며,This member is an explicit interface member implementation. ImmutableArray<T> 인스턴스가 IImmutableList<T> 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.It can be used only when the ImmutableArray<T> instance is cast to an IImmutableList<T> interface.