Table of Contents

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

index int

The zero-based index at which to insert the item.

element T

The item to insert.

Returns

ImmutableValueList<T>

A new list with the item inserted.