HashSet()

HashSet::HashSet() constructor

RTTI information.

System::Collections::Generic::HashSet<T>::HashSet()

Remarks

Creates empty set.

HashSet::HashSet(int) constructor

Creates empty set with specified capacity.

System::Collections::Generic::HashSet<T>::HashSet(int capacity)

HashSet::HashSet(const SharedPtr<IEqualityComparer<T>>&) constructor

Creates empty set that uses the specified equality comparer.

System::Collections::Generic::HashSet<T>::HashSet(const SharedPtr<IEqualityComparer<T>> &comparer)

Arguments

ParameterTypeDescription
comparerconst SharedPtr<IEqualityComparer<T>>&Comparer object to associate with hashset.

HashSet::HashSet(const SharedPtr<IEnumerable<T>>&) constructor

Creates hashset based on enumerable values.

System::Collections::Generic::HashSet<T>::HashSet(const SharedPtr<IEnumerable<T>> &items)

See Also