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