SortedSet()

SortedSet::SortedSet() constructor

Creates empty set.

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

SortedSet::SortedSet(int) constructor

Creates empty set with specified capacity.

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

SortedSet::SortedSet(const SharedPtr<IComparer<T>>&) constructor

Creates empty set that uses the specified equality comparer.

System::Collections::Generic::SortedSet<T>::SortedSet(const SharedPtr<IComparer<T>> &comparer)

Arguments

ParameterTypeDescription
comparerconst SharedPtr<IComparer<T>>&Comparer object to associate with SortedSet.

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

Creates SortedSet based on enumerable values.

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

See Also