ImmutableArray<T>.IImmutableList<T>.RemoveRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>) |
Removes the specified items from this array. |
IImmutableList<T>.RemoveRange(Int32, Int32) |
Returns an array with the elements at the specified position removed. |
IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>)
- Source:
- ImmutableArray_1.cs
- Source:
- ImmutableArray_1.cs
- Source:
- ImmutableArray_1.cs
- Source:
- ImmutableArray_1.cs
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);
abstract member System.Collections.Immutable.IImmutableList<T>.RemoveRange : seq<'T> * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.RemoveRange : seq<'T> * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
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>
The items to remove if matches are found in this list.
- equalityComparer
- 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.
Applies to
IImmutableList<T>.RemoveRange(Int32, Int32)
- Source:
- ImmutableArray_1.cs
- Source:
- ImmutableArray_1.cs
- Source:
- ImmutableArray_1.cs
- Source:
- ImmutableArray_1.cs
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);
abstract member System.Collections.Immutable.IImmutableList<T>.RemoveRange : int * int -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.RemoveRange : int * int -> System.Collections.Immutable.IImmutableList<'T>
Function RemoveRange (index As Integer, count As Integer) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveRange
Parameters
- index
- Int32
The 0-based index of the starting element to remove from the array.
- count
- 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.