## CollectionBase::set_Capacity method


Sets the number of elements that the collection can contain.

```cpp
void System::Collections::CollectionBase<T>::set_Capacity(int32_t value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int32_t | The value to set. |

## See Also

* Class [CollectionBase](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
