GetDescription()

Enum::GetDescription(T) method

Returns the name of the enumeration constant that has the specified value.

template<class T> static std::enable_if<std::is_same<T, E>::value||std::is_convertible<T, UnderlyingType>::value, String>::type System::Enum<E, Guard>::GetDescription(T value)

Arguments

ParameterTypeDescription
valueTThe value of enum constant whose name is to be returned

Return Value

The name of the specified enum constant

See Also