EnumHelper GetDefaultValue TEnum  Method Kentico 8.0 API Reference
Gets the default value fo the specified enum type.

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

Return Value

Type: TEnum
Returns the default enum value, if it is specified using the EnumDefaultValueAttribute. Otherwise returns the first declared enum value.
See Also