ImmutableList<T>.IImmutableList<T>.RemoveRange メソッド

定義

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

オーバーロード

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

この変更できないリストから、指定された項目と一致する要素の範囲を削除します。

IImmutableList<T>.RemoveRange(Int32, Int32)

指定した位置にある指定した数の要素をこのリストから削除します。

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ImmutableList<T> インスタンスがIImmutableList<T> インターフェイスにキャストされている場合にのみ使用できます。

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

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

この変更できないリストから、指定された項目と一致する要素の範囲を削除します。

 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

パラメーター

items
IEnumerable<T>

リストから削除する項目の範囲 (見つかった場合)。

equalityComparer
IEqualityComparer<T>

要素の比較に使用する等値比較子。

返品

項目が削除された変更できないリスト。

実装

例外

items または equalityComparernull

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ImmutableList<T> インスタンスがIImmutableList<T> インターフェイスにキャストされている場合にのみ使用できます。

適用対象

IImmutableList<T>.RemoveRange(Int32, Int32)

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

指定した位置にある指定した数の要素をこのリストから削除します。

 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

パラメーター

index
Int32

削除する要素の範囲の開始インデックス。

count
Int32

削除する要素の数。

返品

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

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ImmutableList<T> インスタンスがIImmutableList<T> インターフェイスにキャストされている場合にのみ使用できます。

適用対象