The following field types can be added to a client message:
Field Type | Description |
---|---|
boolean | Used to declare variables to store the Boolean values, True and False. Field maps to a C# data type of bool. |
Byte | Signed 8-bit integer (-128 to 127) Field maps to a C# data type of sbyte. |
UByte | Unsigned 8-bit integer (0 to 255) Field maps to a C# data type of byte. |
ByteArray | Array of unsigned 8-bit bytes (0 to 255) Field maps to a C# data type of byte[]. |
Decimal | 128-bit data type (±1.0 × 10e-28 to ±7.9 × 10e28) Field maps to a C# data type of decimal. |
Double | A simple type that stores 64-bit floating-point values. (±5.0 × 10-324 to ±1.7 × 10308) Field maps to a C# data type of double. |
Float | A simple type that stores 32-bit floating-point values (±1.5 × 10-45 to ±3.4 × 1038) Field maps to a C# data type of float. |
Integer | Signed 32-bit integer (-2,147,483,648 to 2,147,483,647) Field maps to a C# data type of int. |
Long | Signed 64-bit integer (–9,223,372,036,854,775,808 to 9,223,372,036,854,775,807). Field maps to a C# data type of long. |
Short | Signed 16-bit integer (-32,768 to 32,767) Field maps to a C# data type of short. |
String | Represents text as a series of Unicode characters. Field maps to a C# data type of string. After adding the item to the client message, the display length must be defined using the MaxLength property in the Properties window. |
Reference | Creates a reference to another message. The fields of that message become part of the message being edited. After adding the item to the client message, the server message containing the fields must be identified by using the StructType property in the Properties window. |
Enum | Creates a reference to an enum field of a server message. After adding the item to the client message, the enum field of the server message must be identified by using the EnumType property in the Properties window. Field maps to a C# data type of enum. |