EnumHelperGetEnumsByCategories Method |
Gets enums with category attribute, which have given category name.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static IEnumerable<Enum> GetEnumsByCategories(
Type enumType,
List<string> categories
)
Parameters
- enumType
- Type: SystemType
Enum type - categories
- Type: System.Collections.GenericListString
Categories
Return Value
Type:
IEnumerableEnumReturn enums with category attribute, with given category name.
See Also