Method SetItem
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
SetItem(int, T)
Creates a new ImmutableValueList<T> with the element at the specified index replaced.
public ImmutableValueList<T> SetItem(int index, T value)
Parameters
indexintThe zero-based index of the element to replace.
valueTThe new value.
Returns
- ImmutableValueList<T>
A new list with the element replaced.