Convert.GetTypeCode Method (Object)

 

Returns the TypeCode for the specified object.

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

static member GetTypeCode : 
        value:Object -> TypeCode

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.

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