ImmutableList<T>.Remove メソッド

定義

オーバーロード

名前 説明
Remove(T)

この変更できないリストから、指定したオブジェクトの最初の出現箇所を削除します。

Remove(T, IEqualityComparer<T>)

この変更できないリストから、指定した値に一致するオブジェクトの最初の出現箇所を削除します。

Remove(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> ^ Remove(T value);
public System.Collections.Immutable.ImmutableList<T> Remove(T value);
member this.Remove : 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function Remove (value As T) As ImmutableList(Of T)

パラメーター

value
T

削除するオブジェクト。

返品

オブジェクトが削除された新しいリスト。指定したオブジェクトがこのリストにない場合は、このリスト。

適用対象

Remove(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> ^ Remove(T value, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.ImmutableList<T> Remove(T value, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public System.Collections.Immutable.ImmutableList<T> Remove(T value, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
member this.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As ImmutableList(Of T)

パラメーター

value
T

リストから削除する要素の値。

equalityComparer
IEqualityComparer<T>

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

返品

オブジェクトが削除された新しいリスト。指定したオブジェクトがこのリストにない場合は、このリスト。

適用対象