## List::set_Capacity method


يضبط سعة القائمة.

```cpp
void System::Collections::Generic::List<T>::set_Capacity(int capacity)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| السعة | int | السعة التي سيتم تعيينها (لا يمكن أن تكون أقل من الحجم الحالي). |

## انظر أيضًا

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