3 // This code was automatically generated from
\r
4 // ECMA CLI XML Library Specification.
\r
5 // Generator: libgen.xsl
\r
6 // Source file: all.xml
\r
7 // URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSharp/all.xml
\r
9 // (C) 2001 Ximian, Inc. http://www.ximian.com
\r
16 /// <para>Specifies the type code of an object.</para>
\r
19 /// <para>To obtain the type code for a given object, use the
\r
20 /// object's GetTypeCode method. The TypeCode.Empty field represents a
\r
21 /// null object reference and the TypeCode.Object field represents an object that
\r
22 /// doesn't implement the IValue interface. TheTypeCode.DBNull field represents a
\r
23 /// null database, which is distinct from a null reference. </para>
\r
24 /// <para>There are no type codes for "Missing", "Error", "IDispatch", and "IUnknown".
\r
25 /// These types of values are instead represented as classes. When the type code of
\r
26 /// an object is TypeCode.Object, a call to <see cref="M:System.Type.IsInstanceOfType(System.Object)" /> can be used to determine if
\r
27 /// the object is an instance of the Type.</para>
\r
28 /// <para>Note that when an object has a given type code, there is no guarantee that
\r
29 /// the object is an instance of the corresponding value type. For example, an
\r
30 /// object with the type code TypeCode.Int32 might actually be an instance of a
\r
31 /// nullable 32-bit integer type.</para>
\r
33 public enum TypeCode {
\r
36 /// A null reference.
\r
41 /// <para> An instance that isn't a value.</para>
\r
46 /// <para>A null database.</para>
\r
51 /// <para>A simple type representing boolean values of true
\r
52 /// or false.</para>
\r
57 /// <para>An integral type representing unsigned 16-bit integers
\r
58 /// with values between 0 and 65535. The set of possible values for the <see cref="F:System.TypeCode.Char" />
\r
59 /// type corresponds to the Unicode character set.</para>
\r
64 /// An integral type representing signed 8-bit
\r
65 /// integers with values between -128 and 127.
\r
70 /// An integral type representing unsigned
\r
71 /// 8-bit integers with values between 0 and 255.
\r
76 /// An integral type representing signed 16-bit
\r
77 /// integers with values between -32768 and 32767.
\r
82 /// An integral type representing unsigned
\r
83 /// 16-bit integers with values between 0 and 65535.
\r
88 /// An integral type representing signed 32-bit
\r
89 /// integers with values between -2147483648 and 2147483647.
\r
94 /// An integral type representing unsigned
\r
95 /// 32-bit integers with values between 0 and 4294967295.
\r
100 /// <para>An integral type representing signed 64-bit integers
\r
102 /// between -9223372036854775808 and 9223372036854775807.</para>
\r
107 /// An integral type representing unsigned
\r
108 /// 64-bit integers with values between 0 and 18446744073709551615.
\r
113 /// <para>A floating point type representing values ranging from
\r
114 /// approximately 1.5 x 10<superscript term="-45" /> to 3.4 x 10<superscript term="38" />
\r
115 /// with a precision of 7
\r
121 /// <para>A floating point type representing values ranging from
\r
122 /// approximately 5.0 x 10<superscript term="-324" /> to 1.7 x 10<superscript term="308" />
\r
123 /// with a precision of
\r
124 /// 15-16 digits.</para>
\r
129 /// <para>A simple type representing values ranging from 1.0 x
\r
130 /// 10<superscript term="-28" /> to approximately 7.9 x 10<superscript term="28" />
\r
131 /// with 28-29 significant digits.</para>
\r
136 /// <para>A type representing a date and time value.</para>
\r
141 /// A sealed class type representing Unicode
\r
142 /// character strings.
\r