System Namespace Enum Class
Retrieves an array of the values of the constants in a specified enumeration.
[ VB ]
<Serializable>
Public Shared Function GetValues ( _
ByVal enumType As Type _
) As Array
[ C# ]
[Serializable]
public static Array GetValues (
Type enumType
);
[ C++ ]
[Serializable]
public: static Array* GetValues (
Type* enumType
);
[JScript ]
public Serializable
static function GetValues (
enumType : Type
) : Array;
- enumType
- 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.
Enum Members