ImmutableHashSet<T>.ICollection<T>.Remove(T) Method

Definition

Removes the first occurrence of a specific object from the set.

 virtual bool System.Collections.Generic.ICollection<T>.Remove(T item) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove (T item);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (item As T) As Boolean Implements ICollection(Of T).Remove

Parameters

item
T

The object to remove from the set.

Returns

true if the element is successfully removed; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableHashSet<T> instance is cast to an ICollection<T> interface.

Applies to