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
itemsIEnumerable<T>The objects to remove from the list.
equalityComparerIEqualityComparer<T>The equality comparer to use to determine if
itemsmatch any objects in the list.
Returns
- IImmutableValueList<T>
A new immutable list with the specified objects removed, if
itemsmatched objects in the list.
RemoveRange(int, int)
Removes a range of elements from the IImmutableList<T>.
IImmutableValueList<T> RemoveRange(int index, int count)
Parameters
indexintThe zero-based starting index of the range of elements to remove.
countintThe number of elements to remove.
Returns
- IImmutableValueList<T>
A new immutable list with the elements removed.