Table of Contents

Method SetItem

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

SetItem(int, T)

Creates a new ImmutableValueList<T> with the element at the specified index replaced.

public ImmutableValueList<T> SetItem(int index, T value)

Parameters

index int

The zero-based index of the element to replace.

value T

The new value.

Returns

ImmutableValueList<T>

A new list with the element replaced.