xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_name() [2/4]

template<typename enum_t >
static xtd::string xtd::enum_object< std::nullptr_t >::get_name ( enum_object< enum_t >  value)
inlinestaticnoexcept

Retrieves the name of the constant in the specified enumeration that has the specified value.

Parameters
valueThe value of a particular enumerated constant in terms of its underlying type.
Returns
xtd::string A xtd::string containing the name of the enumerated constant in enumType whose value is value; or the value int32 to xtd::string if no such constant is found.
Exceptions
xtd::argument_exceptionThe value is ! a value of enumType.