Table of Contents

Method Remove

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

Remove(T, IEqualityComparer<T>?)

Creates a new ImmutableValueList<T> with the first occurrence of the specified item removed.

public ImmutableValueList<T> Remove(T value, IEqualityComparer<T>? equalityComparer)

Parameters

value T

The item to remove.

equalityComparer IEqualityComparer<T>

The equality comparer to use to locate value, or null to use the default comparer.

Returns

ImmutableValueList<T>

A new list with the item removed, or the same list if the item was not found.