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


反转指定数组中的元素。

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


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

## 另见

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Font 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)
```


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

## 另见

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