[Serializable] |
Otherwise, call an object's Object.GetType method to obtain its Type object, then call the Type object's Type.GetTypeCode method to obtain the object's type code.
| Boolean | A simple type representing Boolean values of true or false. |
| Byte | |
| Char | An integral type representing unsigned 16-bit integers with values between 0 and 65535. The set of possible values for the TypeCode.Char type corresponds to the Unicode character set. |
| DateTime | A type representing a date and time value. |
| DBNull | A database null (column) value. |
| Decimal | A simple type representing values ranging from 1.0 x 10 -28 to approximately 7.9 x 10 28 with 28-29 significant digits. |
| Double | A floating point type representing values ranging from approximately 5.0 x 10 -324 to 1.7 x 10 308 with a precision of 15-16 digits. |
| Empty | A null reference. |
| Int16 | |
| Int32 | |
| Int64 | An integral type representing signed 64-bit integers with values between -9223372036854775808 and 9223372036854775807. |
| Object | A general type representing any reference or value type not explicitly represented by another TypeCode. |
| SByte | |
| Single | A floating point type representing values ranging from approximately 1.5 x 10 -45 to 3.4 x 10 38 with a precision of 7 digits. |
| String | |
| UInt16 | |
| UInt32 | |
| UInt64 |
Hierarchy: