HashSet<TKey, TValue>.Remove - метод

Removes the first occurrence of a specific object from the ICollection<T>.

Definition

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

Параметры

item  TValue
The object to remove from the ICollection<T>.

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

Boolean
true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Реализации

ICollection<T>.Remove(T)

Исключения

NotSupportedExceptionThe ICollection<T> is read-only.

См. также