Method RemoveRange
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
RemoveRange(IEnumerable<T>, IEqualityComparer<T>?)
Creates a new ImmutableValueArray<T> with the specified items removed.
public ImmutableValueArray<T> RemoveRange(IEnumerable<T> elementsToRemove, IEqualityComparer<T>? equalityComparer)
Parameters
elementsToRemoveIEnumerable<T>The items to remove.
equalityComparerIEqualityComparer<T>The equality comparer to use.
Returns
- ImmutableValueArray<T>
A new array with the items removed.
RemoveRange(int, int)
Creates a new ImmutableValueArray<T> with a range of items removed.
public ImmutableValueArray<T> RemoveRange(int index, int count)
Parameters
indexintThe zero-based starting index of the range to remove.
countintThe number of items to remove.
Returns
- ImmutableValueArray<T>
A new array with the range removed.