ImmutableList<T>::IImmutableList<T>::SetItem Method (Int32, T)
Replaces an element in the list at a given position with the specified element.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
private: virtual IImmutableList<T>^ SetItem( int index, T value ) sealed = IImmutableList<T>::SetItem
Parameters
- index
-
Type:
System::Int32
The position in the list of the element to replace.
- value
-
Type:
T
The element to replace the old element with.
Implements
IImmutableList<T>::SetItem(Int32, T)This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IImmutableList<T> interface.
Show: