Method Insert
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
Insert(int, T)
Creates a new ImmutableValueList<T> with the specified item inserted at the specified index.
public ImmutableValueList<T> Insert(int index, T element)
Parameters
indexintThe zero-based index at which to insert the item.
elementTThe item to insert.
Returns
- ImmutableValueList<T>
A new list with the item inserted.