asp.net.ph

Enum.GetUnderlyingType Method

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;

Parameters

enumType
An enumeration type.

Return Value

The underlying Type of enumType.

Exceptions


Exception Type Condition
ArgumentNullException enumType is a null reference ( Nothing in Visual Basic ).
ArgumentException enumType is not an Enum.

See Also

Enum Members   GetTypeCode Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note