## EnumValuesBase::GetValues method


返回包含指定枚举类型所有值的数组。

```cpp
static ArrayPtr<int64_t> System::EnumValuesBase::GetValues(const TypeInfo &type)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| type | const TypeInfo\& | 表示要返回其值的枚举类型的 [TypeInfo](../../typeinfo/) 对象 |

### ReturnValue

一个数组，包含由 **type** 指定的枚举类型的所有枚举常量的值。

## 另见

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