ImmutableArray<T>.RemoveRange Method

Definition

Overloads

RemoveRange(ImmutableArray<T>, IEqualityComparer<T>)

Removes the specified items from this list.

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

Removes the specified items from this array.

RemoveRange(Int32, Int32)

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

RemoveRange(IEnumerable<T>)

Removes the specified items from this array.

RemoveRange(ImmutableArray<T>)

Removes the specified values from this list.

RemoveRange(ImmutableArray<T>, IEqualityComparer<T>)

Removes the specified items from this list.

public:
 System::Collections::Immutable::ImmutableArray<T> RemoveRange(System::Collections::Immutable::ImmutableArray<T> items, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.ImmutableArray<T> RemoveRange (System.Collections.Immutable.ImmutableArray<T> items, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
member this.RemoveRange : System.Collections.Immutable.ImmutableArray<'T> * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function RemoveRange (items As ImmutableArray(Of T), equalityComparer As IEqualityComparer(Of T)) As ImmutableArray(Of T)

Parameters

items
ImmutableArray<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.

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

Removes the specified items from this array.

public:
 System::Collections::Immutable::ImmutableArray<T> RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.ImmutableArray<T> RemoveRange (System.Collections.Generic.IEnumerable<T> items, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
member this.RemoveRange : seq<'T> * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function RemoveRange (items As IEnumerable(Of T), equalityComparer As IEqualityComparer(Of T)) As ImmutableArray(Of T)

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.

RemoveRange(Int32, Int32)

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

public:
 System::Collections::Immutable::ImmutableArray<T> RemoveRange(int index, int length);
public System.Collections.Immutable.ImmutableArray<T> RemoveRange (int index, int length);
member this.RemoveRange : int * int -> System.Collections.Immutable.ImmutableArray<'T>
Public Function RemoveRange (index As Integer, length As Integer) As ImmutableArray(Of T)

Parameters

index
Int32

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

length
Int32

The number of elements to remove from the array.

Returns

The new array with the specified elements removed.

RemoveRange(IEnumerable<T>)

Removes the specified items from this array.

public:
 System::Collections::Immutable::ImmutableArray<T> RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items);
public System.Collections.Immutable.ImmutableArray<T> RemoveRange (System.Collections.Generic.IEnumerable<T> items);
member this.RemoveRange : seq<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function RemoveRange (items As IEnumerable(Of T)) As ImmutableArray(Of T)

Parameters

items
IEnumerable<T>

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

Returns

A new array with the elements removed.

RemoveRange(ImmutableArray<T>)

Removes the specified values from this list.

public:
 System::Collections::Immutable::ImmutableArray<T> RemoveRange(System::Collections::Immutable::ImmutableArray<T> items);
public System.Collections.Immutable.ImmutableArray<T> RemoveRange (System.Collections.Immutable.ImmutableArray<T> items);
member this.RemoveRange : System.Collections.Immutable.ImmutableArray<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function RemoveRange (items As ImmutableArray(Of T)) As ImmutableArray(Of T)

Parameters

items
ImmutableArray<T>

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

Returns

A new list with the elements removed.

Applies to