ImmutableArray<T>::SetItem Method (Int32, T)
Replaces the item at the specified index with the specified item.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
Parameters
- index
-
Type:
System::Int32
The index of the item to replace.
- item
-
Type:
T
The item to add to the list.
Return Value
Type: System.Collections.Immutable::ImmutableArray<T>The new array that contains item at the specified index.
Show: