EnumMapper.ToString method
namespace: Serenity assembly: Serenity.Net.Core
Converts an enum value to string.
public static string ToString(Type enumType, object value)
parameter | description |
---|---|
enumType | Type of the enum. |
value | The value. |
Return Value
A String that represents enum value. This is the identifier of the enum value or a numeric value.
See Also
- class EnumMapper