GetTypeCode Method

Enum.GetTypeCode Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:
© 2017 Microsoft