Export (0) Print
Expand All

ImmutableHashSet<T>.Add Method

Adds the specified element to the hash set.

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

public ImmutableHashSet<T> Add(
	T item
)

Parameters

item
Type: T

The element to add to the set.

Return Value

Type: System.Collections.Immutable.ImmutableHashSet<T>
true if the element is added to the hash set; false if the element already existed in the hash set.

Show:
© 2014 Microsoft