EnumStringRepresentationExtensions ToStringRepresentation Method (Enum)Kentico 8.0 API Reference
Converts the enum value to it's string representation.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: OnlineString
Returns the string representation of the enum value if it is specified using the EnumStringRepresentationAttribute. Otherwise returns the enum field name.
See Also