ConcurrentHashSet<T>.Add - метод

Adds the specified item to the ConcurrentHashSet<T>.

Definition

Пространство имён: Tessa.Platform.Collections
Сборка: Tessa (в Tessa.dll) Версия: 4.0.7
C#
public bool Add(
	T item
)

Параметры

item  T
The item to add.

Возвращаемое значение

Boolean
true if the items was added to the ConcurrentHashSet<T> successfully; false if it already exists.

Исключения

OverflowExceptionThe ConcurrentHashSet<T> contains too many items.

См. также