Click or drag to resize

FieldType Enumeration

Specifies the type of a LayoutField.

Namespace:  OBCOM.NetSwitchLib.Layouts
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public enum FieldType
Members
  Member nameValueDescription
ALPHA0Alphanumeric layout field (A)
DATE1Date layout field (D)
LIST2List layout field (LB)
LISTEND3End-of-list pseudo layout field (LE)
NUMERIC4Unsigned number layout field (N)
RUT5Chilean RUT layout field (R)
SIGNED6Signed number layout field (S)
TEXT7Text layout field (X)
VERSION8Version pseudo layout field (VR)
CHECKSUM9Checksum pseudo layout field (CS)
Remarks
The following table shows the types of a LayoutField and their property restrictions:
DescriptionTypeLength or OccurrencesNumeric ScaleDefault Value
Alpha numeric stringALPHAMust be greater than 0Must be 0Empty string
DateDATEEither 4, 6 or 8Must be 001-01-0001
List arrayLISTMust be greater than 0Must be 0Empty string
End of list arrayLISTENDN/A (set to 0)N/A (set to 0)N/A (set to null)
Unsigned decimalNUMERICMust be greater than 0Greater or equal to 00
Chilean RUTRUTMust be greater than 1Must be 10-0
Signed decimalSIGNEDMust be greater than 0Greater or equal to 00
Text stringTEXTMust be greater than 0Must be 0Empty string
See Also