System::Collections::Generic::SortedList::SortedList constructor

SortedList::SortedList() constructor

Construye una lista vacía.

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

Ver también

SortedList::SortedList(const map_t&) constructor

Constructor de copia.

System::Collections::Generic::SortedList<TKey, TValue>::SortedList(const map_t &map)
ParámetroTipoDescripción
mapconst map_t&Mapa del que copiar datos.

Ver también

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

Construye una lista vacía.

System::Collections::Generic::SortedList<TKey, TValue>::SortedList(const SharedPtr<IComparer<TKey>> &comparer)
ParámetroTipoDescripción
comparerconst SharedPtr<IComparer<TKey>>&Comparer para usar.

Ver también

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

Constructor de copia.

System::Collections::Generic::SortedList<TKey, TValue>::SortedList(const SharedPtr<IDictionary<TKey, TValue>> &src)
ParámetroTipoDescripción
srcconst SharedPtr<IDictionary<TKey, TValue>>&Dictionary para copiar datos de.

Ver también

SortedList::SortedList(int) constructor

Construye una lista vacía.

System::Collections::Generic::SortedList<TKey, TValue>::SortedList(int capacity)
ParámetroTipoDescripción
capacidadintNúmero de elementos a reservar.

Ver también