ImmutableHashSet<T>.Remove Method (T)

 

Removes the specified element from this immutable hash set.

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

public ImmutableHashSet<T> Remove(
	T item
)

Parameters

item
Type: T

The element to remove.

Return Value

Type: System.Collections.Immutable.ImmutableHashSet<T>

A new set with the specified element removed, or the current set if the element cannot be found in the set.

Return to top
Show: