Table of Contents

Method RemoveRange

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

RemoveRange(IEnumerable<T>, IEqualityComparer<T>?)

Removes the specified object from the list.

IImmutableValueList<T> RemoveRange(IEnumerable<T> items, IEqualityComparer<T>? equalityComparer)

Parameters

items IEnumerable<T>

The objects to remove from the list.

equalityComparer IEqualityComparer<T>

The equality comparer to use to determine if items match any objects in the list.

Returns

IImmutableValueList<T>

A new immutable list with the specified objects removed, if items matched objects in the list.

RemoveRange(int, int)

Removes a range of elements from the IImmutableList<T>.

IImmutableValueList<T> RemoveRange(int index, int count)

Parameters

index int

The zero-based starting index of the range of elements to remove.

count int

The number of elements to remove.

Returns

IImmutableValueList<T>

A new immutable list with the elements removed.