| FieldType Enumeration |
Namespace:
OBCOM.NetSwitchLib.Layouts
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax Public Enumeration FieldType
Members
| Member name | Value | Description |
---|
| ALPHA | 0 | Alphanumeric layout field (A) |
| DATE | 1 | Date layout field (D) |
| LIST | 2 | List layout field (LB) |
| LISTEND | 3 | End-of-list pseudo layout field (LE) |
| NUMERIC | 4 | Unsigned number layout field (N) |
| RUT | 5 | Chilean RUT layout field (R) |
| SIGNED | 6 | Signed number layout field (S) |
| TEXT | 7 | Text layout field (X) |
| VERSION | 8 | Version pseudo layout field (VR) |
| CHECKSUM | 9 | Checksum pseudo layout field (CS) |
Remarks
The following table shows the types of a
LayoutField and
their property restrictions:
Description | Type | Length or Occurrences | Numeric Scale | Default Value |
Alpha numeric string | ALPHA | Must be greater than 0 | Must be 0 | Empty string |
Date | DATE | Either 4, 6 or 8 | Must be 0 | 01-01-0001 |
List array | LIST | Must be greater than 0 | Must be 0 | Empty string |
End of list array | LISTEND | N/A (set to 0) | N/A (set to 0) | N/A (set to null) |
Unsigned decimal | NUMERIC | Must be greater than 0 | Greater or equal to 0 | 0 |
Chilean RUT | RUT | Must be greater than 1 | Must be 1 | 0-0 |
Signed decimal | SIGNED | Must be greater than 0 | Greater or equal to 0 | 0 |
Text string | TEXT | Must be greater than 0 | Must be 0 | Empty string |
See Also