Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ImmutableHashSet<T>.ISet<T>.Add Method

.NET Framework 4.5

Adds an element to the current set and returns a value that indicates whether the element was successfully added.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)
bool ISet<T>.Add(
	T item
)

Parameters

item
Type: T

The element to add to the collection.

Return Value

Type: System.Boolean
true if the element is added to the set; false if the element is already in the set.

Implements

ISet<T>.Add(T)

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.