GetNames()

EnumValuesBase::GetNames(const TypeInfo&) method

Retrieves an array of the names of the constants in a specified enumeration.

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

Arguments

ParameterTypeDescription
typeconst TypeInfo&An enumeration type.

Return Value

A string array of the names of the constants in enumType.

See Also