ImmutableHashSet<T>.Remove(T) 方法

定义

从此不可变哈希集内移除指定的元素。Removes the specified element from this immutable hash set.

public:
 System::Collections::Immutable::ImmutableHashSet<T> ^ Remove(T item);
public System.Collections.Immutable.ImmutableHashSet<T> Remove (T item);
member this.Remove : 'T -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Remove (item As T) As ImmutableHashSet(Of T)

参数

item
T

要删除的元素。The element to remove.

返回

已移除指定元素的新集,或者当前集(如果在该集内找不到该元素)。A new set with the specified element removed, or the current set if the element cannot be found in the set.

适用于