Enum::GetTypeCode Method ()

 

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

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

public:
virtual TypeCode GetTypeCode() sealed

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: