Table of Contents

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

index int

The zero-based index of the element to replace.

value T

The new value.

Returns

ImmutableValueArray<T>

A new array with the element replaced.