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

定義

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

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Remove(T item) = System::Collections::Immutable::IImmutableSet<T>::Remove;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Remove (T item);
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 (item As T) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Remove

參數

item
T

要移除的項目。

傳回

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

實作

備註

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

適用於