ImmutableList.Remove<T>(IImmutableList<T>, T) メソッド

定義

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

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::IImmutableList<T> ^ Remove(System::Collections::Immutable::IImmutableList<T> ^ list, T value);
public static System.Collections.Immutable.IImmutableList<T> Remove<T>(this System.Collections.Immutable.IImmutableList<T> list, T value);
static member Remove : System.Collections.Immutable.IImmutableList<'T> * 'T -> System.Collections.Immutable.IImmutableList<'T>
<Extension()>
Public Function Remove(Of T) (list As IImmutableList(Of T), value As T) As IImmutableList(Of T)

型パラメーター

T

リスト内の項目の種類。

パラメーター

list
IImmutableList<T>

検索するリスト。

value
T

削除する値。

返品

要素が削除された新しい変更できないリスト。要素がこのリストにない場合は、このリスト。

適用対象