SortedList()

SortedList::SortedList() constructor

Constructs empty list.

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

SortedList::SortedList(const SharedPtr<IComparer<TKey>>&) constructor

Constructs empty list.

System::Collections::Generic::SortedList<TKey, TValue>::SortedList(const SharedPtr<IComparer<TKey>> &comparer)

Arguments

ParameterTypeDescription
comparerconst SharedPtr<IComparer<TKey>>&Comparer to use.

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

Copy constructor.

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

Arguments

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

SortedList::SortedList(const map_t&) constructor

Copy constructor.

System::Collections::Generic::SortedList<TKey, TValue>::SortedList(const map_t &map)

Arguments

ParameterTypeDescription
mapconst map_t&Map tp copy data from.

SortedList::SortedList(int) constructor

Constructs empty list.

System::Collections::Generic::SortedList<TKey, TValue>::SortedList(int capacity)

Arguments

ParameterTypeDescription
capacityintNumber of elements to reserve.

See Also