ConcurrentHashSetTAdd - метод

Adds the specified item to the ConcurrentHashSetT.

Definition

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

Параметры

item  T
The item to add.

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

Boolean
true if the items was added to the ConcurrentHashSetT successfully; false if it already exists.

Исключения

OverflowExceptionThe ConcurrentHashSetT contains too many items.

См. также