## List::set_Capacity method


Establece la capacidad de la lista.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| capacidad | int | Capacidad a establecer (no puede ser menor que el tamaño actual). |

## Ver también

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