Enum.GetTypeCode Method ()

 

Returns the type code of the underlying type of this enumeration member.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

Public Function GetTypeCode As TypeCode

Return Value

Type: System.TypeCode

The type code of the underlying type of this instance.

Exception Condition
InvalidOperationException

The enumeration type is unknown.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: