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

◆ parse() [2/2]

template<typename enum_t >
static enum_t xtd::enum_object< std::nullptr_t >::parse ( const xtd::string str,
bool  ignore_case 
)
inlinestatic

Converts the xtd::string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.

Parameters
strAn A xtd::string containing the name or value to convert.
ignore_casetrue to Ignore case; false to regard case.
Returns
enum_object An enum whose value is represented by value.
Exceptions
xtd::argument_exceptionThe value is ! a value of enumType.