## List::set_Capacity method


Ställer in listans kapacitet.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| kapacitet | int | Kapacitet att sätta (kan inte vara mindre än aktuell storlek). |

## Se även

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