Method SetItem
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
SetItem(int, T)
Replaces an element in the list at a given position with the specified element.
IImmutableValueList<T> SetItem(int index, T value)
Parameters
indexintThe position in the list of the element to replace.
valueTThe element to replace the old element with.
Returns
- IImmutableValueList<T>
A new list that contains the new element, even if the element at the specified location is the same as the new element.