EnumStringRepresentationExtensions GetOrder Method Kentico 8.1 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.1.5347.20411)

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