ImmutableSortedSet<T>.IImmutableSet<T>.Remove(T) 方法

定義

從這個不可變的資料集中移除指定的項目。

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Remove(T value) = System::Collections::Immutable::IImmutableSet<T>::Remove;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Remove (T value);
abstract member System.Collections.Immutable.IImmutableSet<T>.Remove : 'T -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Remove : 'T -> System.Collections.Immutable.IImmutableSet<'T>
Function Remove (value As T) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Remove

參數

value
T

要移除的項目。

傳回

已移除之指定項目的新資料集,如果資料集中找不到該項目,則為目前的資料集。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableSortedSet<T> 執行個體轉換成 IImmutableSet<T> 介面時,才能使用這個成員。

System.Collections.Immutable NuGet 套件

關於不可變集合以及如何安裝

適用於