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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph