Bewerken

Share via


HashSet<T>.AlternateLookup<TAlternate>.Remove(TAlternate) Method

Definition

Removes the specified element from a set.

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

Parameters

item
TAlternate

The element to remove.

Returns

true if the element is successfully found and removed; otherwise, false.

Applies to