Method | Description | |
---|---|---|
GetDescriptionOrValue ( this enumeration ) : string |
Gets the description [Description("")] or ToString() value of an enumeration.
|
public static GetDescriptionOrValue ( this enumeration ) : string | ||
enumeration | this | The enumeration item. |
return | string |