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


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

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

bool ICollection<T>.Remove(
	T item


Type: T

The object to remove from the set.

Return Value

Type: System.Boolean

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

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.

Return to top