## Array::Reverse(const ArrayPtr\<Type\>\&) method


反转指定数组中的元素。

```cpp
template<typename Type> static void System::Array<T>::Reverse(const ArrayPtr<Type> &arr)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| arr | const ArrayPtr\<Type\>\& | 目标数组 |

## 另见

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Array::Reverse(const ArrayPtr\<Type\>\&, int, int) method


反转指定数组中的一段元素。

```cpp
template<typename Type> static void System::Array<T>::Reverse(const ArrayPtr<Type> &arr, int startIndex, int count)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| arr | const ArrayPtr\<Type\>\& | 目标数组 |
| startIndex | int | 数组中范围开始反转的起始索引 |
| count | int | 要反转的范围大小 |

## 另见

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
