System::EnumValuesBase::GetNames 方法

EnumValuesBase::GetNames method

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

static ArrayPtr<String> System::EnumValuesBase::GetNames(const TypeInfo &type)
参数类型描述
类型const TypeInfo&枚举类型。

ReturnValue

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

另见