Converts the string representation of the enum value to the actual enum value.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- stringRepresentation
- Type: System String
String representation of the enum value
- enumType
- Type: System Type
Enum type
Return Value
Type: EnumReturns the enum value if it is specified using the EnumStringRepresentationAttribute. Otherwise returns the default enum value.
See Also