ImmutableList<T>.Builder.RemoveRange Method
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.
RemoveRange(IEnumerable<T>) |
Removes any first occurrences of the specified values from this list. |
RemoveRange(IEnumerable<T>, IEqualityComparer<T>) |
Removes any first occurrences of the specified values from this list. |
RemoveRange(Int32, Int32) |
Removes the specified range of values from this list. |
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
Removes any first occurrences of the specified values from this list.
public:
void RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items);
public void RemoveRange(System.Collections.Generic.IEnumerable<T> items);
member this.RemoveRange : seq<'T> -> unit
Public Sub RemoveRange (items As IEnumerable(Of T))
Parameters
- items
- IEnumerable<T>
The items to remove if matches are found in this list.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
Removes any first occurrences of the specified values from this list.
public:
void RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public void RemoveRange(System.Collections.Generic.IEnumerable<T> items, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
member this.RemoveRange : seq<'T> * System.Collections.Generic.IEqualityComparer<'T> -> unit
Public Sub RemoveRange (items As IEnumerable(Of T), equalityComparer As IEqualityComparer(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.
If null
, Default is used.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
- Source:
- ImmutableList_1.Builder.cs
Removes the specified range of values from this list.
public:
void RemoveRange(int index, int count);
public void RemoveRange(int index, int count);
member this.RemoveRange : int * int -> unit
Public Sub RemoveRange (index As Integer, count As Integer)
Parameters
- index
- Int32
The starting index to begin removal.
- count
- Int32
The number of elements to remove.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: