Get the values of an enumeration.
Namespace: Bespoke.CommonAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
Parameters
- enumType
- Type: System Type
The enumeration.
Return Value
An array of Enum values present within the enumeration.Exceptions
Exception | Condition |
---|---|
System ArgumentException | enumType is not an enumeration. |
See Also