## EnumValuesBase::GetNames method


检索指定枚举中常量名称的数组。

```cpp
static ArrayPtr<String> System::EnumValuesBase::GetNames(const TypeInfo &type)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 类型 | const TypeInfo\& | 枚举类型。 |

### ReturnValue

一个字符串数组，包含 enumType 中常量的名称。

## 另见

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