GetTypeCode Method

Convert.GetTypeCode Method

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

Returns the TypeCode for the specified object.

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

public static TypeCode GetTypeCode(
	Object value
)

Parameters

value
Type: System.Object
An Object that implements the IConvertible interface.

Return Value

Type: System.TypeCode
The System.TypeCode for value, or TypeCode.Empty if value is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft