Redigera

Dela via


HashSet<T>.AlternateLookup<TAlternate>.Contains Method

Definition

Determines whether a set contains the specified element.

public:
 bool Contains(TAlternate item);
public bool Contains (TAlternate item);
member this.Contains : 'Alternate -> bool
Public Function Contains (item As TAlternate) As Boolean

Parameters

item
TAlternate

The element to locate in the set.

Returns

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

Applies to