Retrieves an array of the values of the constants in a specified enumeration.
- enumType (Type)
- An enumeration type.
An Array of the values of the constants in enumType.
The elements of the array are sorted by the values of the enumeration constants.
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Phone | Windows Phone 7 |
| Windows Embedded Compact | Windows CE .NET 4.1 and later |
| Exception | Condition |
|---|---|
| ArgumentException | enumType parameter is not an Enum |