System Namespace Enum Class
Returns the underlying type of the specified enumeration.
[ VB ]
<Serializable>
Public Shared Function GetUnderlyingType ( _
ByVal enumType As Type _
) As Type
[ C# ]
[Serializable]
public static Type GetUnderlyingType (
Type enumType
);
[ C++ ]
[Serializable]
public: static Type* GetUnderlyingType (
Type* enumType
);
[JScript ]
public Serializable
static function GetUnderlyingType (
enumType : Type
) : Type;
- enumType
- An enumeration type.
The underlying Type of enumType.
Enum Members GetTypeCode