System::Collections::Generic::List::set_Capacity 方法
List::set_Capacity method
设置列表容量。
void System::Collections::Generic::List<T>::set_Capacity(int capacity)
| Parameter | Type | 描述 |
|---|---|---|
| 容量 | int | 要设置的容量(不能小于当前大小)。 |
另见
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++