Edit

Share via


IImmutableSet<T>.Contains(T) Method

Definition

Determines whether this immutable set contains a specified element.

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

Parameters

value
T

The element to locate in the set.

Returns

true if the set contains the specified value; otherwise, false.

Applies to