ImmutableArray<T>.Builder.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
RemoveRange(Int32, Int32) |
Removes the specified values from this list. |
RemoveRange(IEnumerable<T>) |
Removes the specified values from this list. |
RemoveRange(IEnumerable<T>, IEqualityComparer<T>) |
Removes the specified values from this list. |
RemoveRange(Int32, Int32)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Removes the specified values from this list.
public:
void RemoveRange(int index, int length);
public void RemoveRange (int index, int length);
member this.RemoveRange : int * int -> unit
Public Sub RemoveRange (index As Integer, length As Integer)
Parameters
- index
- Int32
The 0-based index into the array for the element to omit from the returned array.
- length
- Int32
The number of elements to remove.
Applies to
RemoveRange(IEnumerable<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Removes 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
RemoveRange(IEnumerable<T>, IEqualityComparer<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Removes 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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈