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

정의

변경할 수 없는 목록의 지정된 위치에 있는 요소를 지정된 요소로 바꿉니다.

public:
 System::Collections::Immutable::ImmutableList<T> ^ SetItem(int index, T value);
public System.Collections.Immutable.ImmutableList<T> SetItem(int index, T value);
member this.SetItem : int * 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function SetItem (index As Integer, value As T) As ImmutableList(Of T)

매개 변수

index
Int32

바꿀 요소 목록의 위치입니다.

value
T

이전 요소를 바꿀 요소입니다.

반품

해당 위치의 이전 요소와 같더라도 교체된 요소가 있는 새 목록입니다.

적용 대상