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
valueTThe item to remove.
equalityComparerIEqualityComparer<T>The equality comparer to use to locate
value, ornullto use the default comparer.
Returns
- ImmutableValueList<T>
A new list with the item removed, or the same list if the item was not found.