Data types for .NET
XMS .NET supports System.Boolean, System.Byte, System.SByte, System.Char, System.String, System.Single, System.Double, System.Decimal, System.Int16, System.Int32, System.Int64, System.UInt16, System.UInt32, System.UInt64, and System.Object. Data types for XMS .NET are different from data types for XMS C/C++. We can use this topic to identify the corresponding data types.
The following table shows the corresponding XMS .NET and XMS C/C++ data types and briefly describes them.XMS .NET type | XMS C/C++ type | Description |
---|---|---|
System.SByte |
xmsSBYTE xmsINT8 |
Signed 8-bit value |
System.Byte |
xmsBYTE xmsUINT8 |
Unsigned 8-bit value |
System.Int16 |
xmsINT16 xmsSHORT |
Signed 16-bit value |
System.UInt16 |
xmsUINT16 xmsUSHORT |
Unsigned 16-bit value |
System.Int32 |
xmsINT32 xmsINT |
Signed 32-bit value |
System.UInt32 |
xmsUINT32 xmsUINT |
Unsigned 32-bit value |
System.Int64 |
xmsLONG xmsINT64 |
Signed 64-bit value |
System.UInt64 |
xmsULONG xmsUINT64 |
Unsigned 64-bit value |
System.Char | xmsCHAR16 | Unsigned 16-bit character (Unicode for .NET) |
System.Single | xmsFLOAT | IEEE 32-bit float |
System.Double | xmsDOUBLE | IEEE 64-bit float |
System.Boolean | xmsBOOL | A True/False value |
Not applicable | xmsCHAR | Signed or Unsigned 8-bit value (signed or unsigned depends on platform) |
System.Decimal | Not applicable | 96-bit signed integer times 100 through 1028 |
System.Object | Not applicable | Base of all types |
System.String | Not applicable | String type |