EnumStringRepresentationExtensions GetOrder Method Kentico 8.0 API Reference
Gets the order of the enum value.

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

Return Value

Type: OnlineInt32
Returns the order of enum item if it is specified using the EnumOrderAttribute. Otherwise returns the int value of the enum value if the enum is based on an int type. Otherwise returns 0.
See Also