System::Array::Resize 方法
Array::Resize method
将指定数组的大小更改为指定值,或使用指定大小创建新数组。
template<typename Type> static void System::Array<T>::Resize(ArrayPtr<Type> &arr, int new_size)
| Parameter | Type | 描述 |
|---|---|---|
| arr | ArrayPtr<Type>& | Array 以调整大小。如果 arr 为空指针,将创建新数组。 |
| new_size | int | 数组的新大小,或当 arr 为 null 时新数组的大小 |
另见
- Typedef ArrayPtr
- Class Array
- Namespace System
- Library Aspose.Page for C++