ImmutableList<T>.Remove メソッド

定義

オーバーロード

Remove(T)

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

Remove(T, IEqualityComparer<T>)

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

Remove(T)

ソース:
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

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

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>

検索に使用する等値比較子。

戻り値

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

適用対象