## SortedList::set_Capacity method


设置当前列表的容量。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| capacity | int | 要设置的容量。 |

## 另见

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