Retrieves an array of the values of the constants in a specified enumeration.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static Array GetValues(
Type enumType
)
Parameters
- enumType
- Type: SystemType
The enumeration type to retrieve values from.
Return Value
Type:
ArrayAn array that contains the values of the constants in
enumType.
Exceptions See Also