Returns the name of the enumeration member associated with the specified numeric value. The method returns an error if invoked on a type that is not an enumeration or if passed the Unknown value (?).
The underlying numeric value of an enum member. If no member is defined for the value, the method returns the Unknown value (?).
Notes
For a flag enum instance that represents multiple flags set, the method returns a comma-separated list of members, unless there is a member that is explicitly defined as a combination of those members. For example, for the Permission enum type shown below, specifying the value 3 would return "ReadWrite" instead of "Read,Write".
If the enum type defines multiple members for the same value, as the Permission enum type above does for Write and Update, the method returns one of the member names, but there is no guarantee as to which one will be returned.