The DataType type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
BLOB
Blob type, variable length
BOOL
Boolean type; 4 bytes
CAPTURE
Capture type, variable length
DOUBLE
Double type; 8 bytes
EnumValue
A contrivance to allow DataType objects to be used in switch statements. Use like this:
CopyC#
switch (myDataType.EnumValue) {
case DataType.EnumVal.BOOL:
    break;
}
FUNCTION
Function type, variable length
INT
Integer type; 4 bytes
LIST
List type, variable length
LONG
Long type; 8 bytes
Name
The string representation of the data type.
STRING
String type, variable length
TIMESTAMP
Timestamp type, 8 byte storage
TUPLE
Tuple type (nested tuple), variable length

See Also