EnumHelper.GetEnumsByCategories 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: System.Type
Enum type - categories
- Type: System.Collections.Generic.List<String>
Categories
Return Value
Type:
IEnumerable<Enum>Return enums with category attribute, with given category name.
See Also