Table of Contents

Method Insert

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

Insert(int, T)

Creates a new ImmutableValueArray<T> with the specified item inserted at the specified index.

public ImmutableValueArray<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

ImmutableValueArray<T>

A new array with the item inserted.