Windows Dev Center

Enum.GetTypeCode Method

Returns the underlying TypeCode for this instance.

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

public TypeCode GetTypeCode()

Return Value

Type: System.TypeCode
The System.TypeCode for this instance.

Implements

IConvertible.GetTypeCode()

ExceptionCondition
InvalidOperationException

The enumeration type is unknown.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft