SortedDictionary()

SortedDictionary::SortedDictionary() constructor

Constructs empty dictionary.

System::Collections::Generic::SortedDictionary<TKey, TValue>::SortedDictionary()

SortedDictionary::SortedDictionary(const SharedPtr<IComparer<typename BasePointerType<TKey>::type>>&) constructor

Constructs empty dictionary.

System::Collections::Generic::SortedDictionary<TKey, TValue>::SortedDictionary(const SharedPtr<IComparer<typename BasePointerType<TKey>::type>> &comparer)

Arguments

ParameterTypeDescription
comparerconst SharedPtr<IComparer<typename BasePointerType<TKey>::type>>&Comparer to use.

SortedDictionary::SortedDictionary(const SharedPtr<IDictionary<TKey, TValue>>&) constructor

Copy constructor.

System::Collections::Generic::SortedDictionary<TKey, TValue>::SortedDictionary(const SharedPtr<IDictionary<TKey, TValue>> &src)

Arguments

ParameterTypeDescription
srcconst SharedPtr<IDictionary<TKey, TValue>>&Source dictionary to copy data from.

SortedDictionary::SortedDictionary(const SharedPtr<IDictionary<TKey, TValue>>&, const SharedPtr<IComparer<typename BasePointerType<TKey>::type>>&) constructor

Copy constructor.

System::Collections::Generic::SortedDictionary<TKey, TValue>::SortedDictionary(const SharedPtr<IDictionary<TKey, TValue>> &src, const SharedPtr<IComparer<typename BasePointerType<TKey>::type>> &comparer)

Arguments

ParameterTypeDescription
srcconst SharedPtr<IDictionary<TKey, TValue>>&Source dictionary to copy data from.
comparerconst SharedPtr<IComparer<typename BasePointerType<TKey>::type>>&Comparer to use.

See Also