## SortedList::set_Capacity method


Sets current list capacity.

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


| Parameter | Type | Description |
| --- | --- | --- |
| capacity | int | Capacity to set. |

## See Also

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