Share via


ObservableHashSet<T>.Contains(T) Method

Definition

Determines whether the hash set object contains the specified element.

public virtual bool Contains (T item);
abstract member Contains : 'T -> bool
override this.Contains : 'T -> bool
Public Overridable Function Contains (item As T) As Boolean

Parameters

item
T

The element to locate in the hash set.

Returns

true if the hash set contains the specified element; otherwise, false.

Implements

Applies to