System::Array::Clear 方法
Array::Clear() method
不支持,因为当前对象表示的数组是只读的。
virtual void System::Array<T>::Clear() override
另见
- Class Array
- Namespace System
- Library Aspose.Page for C++
Array::Clear(const ArrayPtr<Type>&, int, int) method
在指定数组中,从 startIndex 索引开始替换 count 个值为默认值。
template<typename Type> static void System::Array<T>::Clear(const ArrayPtr<Type> &arr, int startIndex, int count)
| Parameter | 描述 |
|---|---|
| Type | 目标数组中元素的类型 |
| Parameter | Type | 描述 |
|---|---|---|
| arr | const ArrayPtr<Type>& | 目标数组 |
| startIndex | int | 开始替换项目的索引 |
| count | int | 要替换的项目数量 |
另见
- Typedef ArrayPtr
- Class Array
- Namespace System
- Library Aspose.Page for C++