Redigera

Dela via


IReadOnlySet<T>.Contains(T) Method

Definition

Determines if the set contains a specific item.

public:
 bool Contains(T item);
public bool Contains (T item);
abstract member Contains : 'T -> bool
Public Function Contains (item As T) As Boolean

Parameters

item
T

The item to check if the set contains.

Returns

true if found; otherwise false.

Applies to