Convert.GetTypeCode(Object) Method

Definition

Returns the TypeCode for the specified object.

public:
 static TypeCode GetTypeCode(System::Object ^ value);
public static TypeCode GetTypeCode (object value);
static member GetTypeCode : obj -> TypeCode
Public Shared Function GetTypeCode (value As Object) As TypeCode

Parameters

value
Object

An object that implements the IConvertible interface.

Returns

The TypeCode for value, or Empty if value is null.

Applies to