Share via


TypeCode Enumeration

Contains values that specify the type of an object.

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

Syntax

[SerializableAttribute]
public enum TypeCode

Members

  Member name Description
Boolean A simple type that represents Boolean values.
Byte An integral type that represents unsigned 8-bit integers with values ranging from 0 through 255.
Char An integral type that represents unsigned 16-bit integers with values ranging from 0 through 65535. The set of possible values for the Char type corresponds to the Unicode character set.
DateTime A type that represents a date and time value.
DBNull A database null (column) value.
Decimal A simple type that represents values ranging from 1.0 x 10-28 through approximately 7.9 x 1028, with 28-29 significant digits.
Double A floating-point type that represents values ranging from approximately 5.0 x 10-324 through 1.7 x 10308, with a precision of 15-16 digits.
Empty A null reference.
Int16 An integral type that represents signed 16-bit integers with values ranging from -32768 through 32767.
Int32 An integral type that represents signed 32-bit integers with values rangine from -2147483648 through 2147483647.
Int64 An integral type that represents signed 64-bit integers with values ranging from -9223372036854775808 through 9223372036854775807.
Object A general type that represents any reference or value type not explicitly represented by another TypeCode object.
SByte An integral type that represents signed 8-bit integers with values ranging from -128 through 127.
Single A floating-point type that represents values ranging from approximately 1.5 x 10-45 through 3.4 x 1038, with a precision of 7 digits.
String A sealed class type that represents Unicode character strings.
UInt16 An integral type that represents unsigned 16-bit integers with values ranging from 0 through 65535.
UInt32 An integral type that represents unsigned 32-bit integers with values ranging from 0 through 4294967295.
UInt64 An integral type that represents unsigned 64-bit integers with values ranging from 0 through 18446744073709551615.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

System Namespace