System::Collections::Generic::HashSet::HashSet constructor

HashSet::HashSet() constructor

RTTI information.

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

Remarks

Creates empty set.

See Also

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

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)
ParameterTypeDescription
comparerconst SharedPtr<IEqualityComparer<T>>&Comparer object to associate with hashset.

See Also

HashSet::HashSet(int) constructor

Creates empty set with specified capacity.

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

See Also