OpenNETCF Smart Device Framework 2.3
Returns the underlying type of the specified enumeration.>

Namespace:  OpenNETCF
Assembly:  OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0

Syntax

C#
public static Type GetUnderlyingType(
	Type enumType
)
Visual Basic (Declaration)
Public Shared Function GetUnderlyingType ( _
	enumType As Type _
) As Type
Visual Basic (Usage)
Dim enumType As Type
Dim returnValue As Type

returnValue = Enum2.GetUnderlyingType(enumType)
Visual C++
public:
static Type^ GetUnderlyingType(
	Type^ enumType
)
J#
public static Type GetUnderlyingType(
	Type enumType
)
JScript
public static function GetUnderlyingType(
	enumType : Type
) : Type
JavaScript
OpenNETCF.Enum2.GetUnderlyingType = function(enumType);

Parameters

enumType
Type: System..::.Type
An enumeration type.

Return Value

The underlying Type of .

See Also