## SortedList::SortedList() constructor


构造空列表。

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

## 另见

* Class [SortedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
## SortedList::SortedList(const map_t\&) constructor


拷贝构造函数。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 映射 | const map_t\& | 要复制数据的 Map。 |

## 另见

* Typedef [map_t](../map_t/)
* Class [SortedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
## SortedList::SortedList(const SharedPtr\<IComparer\<TKey\>\>\&) constructor


构造空列表。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| comparer | const SharedPtr\<IComparer\<TKey\>\>\& | [Comparer](../../comparer/) 使用。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IComparer](../../icomparer/)
* Class [SortedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
## SortedList::SortedList(const SharedPtr\<IDictionary\<TKey, TValue\>\>\&) constructor


拷贝构造函数。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| src | const SharedPtr\<IDictionary\<TKey, TValue\>\>\& | [Dictionary](../../dictionary/) 用于复制数据来源。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IDictionary](../../idictionary/)
* Class [SortedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
## SortedList::SortedList(int) constructor


构造空列表。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| capacity | int | 要保留的元素数量。 |

## 另见

* Class [SortedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
