ImmutableArray<T>.IImmutableList<T>.RemoveRange ImmutableArray<T>.IImmutableList<T>.RemoveRange ImmutableArray<T>.IImmutableList<T>.RemoveRange Method

Definition

Overloads

IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>) IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>) IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>)

Removes the specified items from this array.

IImmutableList<T>.RemoveRange(Int32, Int32) IImmutableList<T>.RemoveRange(Int32, Int32) IImmutableList<T>.RemoveRange(Int32, Int32)

Returns an array with the elements at the specified position removed.

IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>) IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>) IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>)

Removes the specified items from this array.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer) = System::Collections::Immutable::IImmutableList<T>::RemoveRange;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.RemoveRange (System.Collections.Generic.IEnumerable<T> items, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
Function RemoveRange (items As IEnumerable(Of T), equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveRange

Parameters

items
IEnumerable<T> IEnumerable<T> IEnumerable<T>

The items to remove if matches are found in this list.

equalityComparer
IEqualityComparer<T> IEqualityComparer<T> IEqualityComparer<T>

The equality comparer to use in the search.

Returns

A new array with the elements removed.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableArray<T> instance is cast to an IImmutableList<T> interface.

IImmutableList<T>.RemoveRange(Int32, Int32) IImmutableList<T>.RemoveRange(Int32, Int32) IImmutableList<T>.RemoveRange(Int32, Int32)

Returns an array with the elements at the specified position removed.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.RemoveRange(int index, int count) = System::Collections::Immutable::IImmutableList<T>::RemoveRange;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.RemoveRange (int index, int count);
Function RemoveRange (index As Integer, count As Integer) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveRange

Parameters

index
Int32 Int32 Int32

The 0-based index of the starting element to remove from the array.

count
Int32 Int32 Int32

The number of elements to remove from the array.

Returns

The new array with the specified elements removed.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableArray<T> instance is cast to an IImmutableList<T> interface.

Applies to