ImmutableList<T>.RemoveRange メソッド

定義

オーバーロード

名前 説明
RemoveRange(IEnumerable<T>, IEqualityComparer<T>)

指定した値をこのリストから削除します。

RemoveRange(IEnumerable<T>)

この変更できないリストから要素の範囲を削除します。

RemoveRange(Int32, Int32)

指定したインデックスから開始し、指定した数の要素を含む要素の範囲を、この変更できないリストから削除します。

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

ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs

指定した値をこのリストから削除します。

public:
 System::Collections::Immutable::ImmutableList<T> ^ RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.ImmutableList<T> RemoveRange(System.Collections.Generic.IEnumerable<T> items, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public System.Collections.Immutable.ImmutableList<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.ImmutableList<'T>
Public Function RemoveRange (items As IEnumerable(Of T), equalityComparer As IEqualityComparer(Of T)) As ImmutableList(Of T)

パラメーター

items
IEnumerable<T>

この一覧に一致するものが見つかった場合に削除する項目。

equalityComparer
IEqualityComparer<T>

検索で使用する等価比較子。

返品

要素が削除された新しいリスト。

適用対象

RemoveRange(IEnumerable<T>)

ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs

この変更できないリストから要素の範囲を削除します。

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

パラメーター

items
IEnumerable<T>

この一覧に一致する要素が見つかった場合に削除する必要があるコレクション。

返品

要素が削除された新しいリスト。

適用対象

RemoveRange(Int32, Int32)

ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs
ソース:
ImmutableList_1.cs

指定したインデックスから開始し、指定した数の要素を含む要素の範囲を、この変更できないリストから削除します。

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

パラメーター

index
Int32

削除を開始する開始インデックス。

count
Int32

削除する要素の数。

返品

要素が削除された新しいリスト。

適用対象