XSegmentType (property)
Indicates the current segment type.
Syntax
@property (nonatomic,readonly,assign,getter=XSegmentType) int XSegmentType; - (int)XSegmentType;
/* Possible Values */
ST_NONE(0),
ST_INTERCHANGE(1),
ST_FUNCTIONAL_GROUP(2),
ST_TRANSACTION(3),
ST_INTERCHANGE_HEADER(4),
ST_FUNCTIONAL_GROUP_HEADER(5),
ST_TRANSACTION_HEADER(6),
ST_TRANSACTION_SEGMENT(7),
ST_TRANSACTION_LOOP(8),
ST_TRANSACTION_FOOTER(9),
ST_FUNCTIONAL_GROUP_FOOTER(10),
ST_INTERCHANGE_FOOTER(11)
public var XSegmentType: EdifactreaderXSegmentTypes { get {...} }
public enum EdifactreaderXSegmentTypes : Int32 { case stNone = 0 case stInterchange = 1 case stFunctionalGroup = 2 case stTransaction = 3 case stInterchangeHeader = 4 case stFunctionalGroupHeader = 5 case stTransactionHeader = 6 case stTransactionSegment = 7 case stTransactionLoop = 8 case stTransactionFooter = 9 case stFunctionalGroupFooter = 10 case stInterchangeFooter = 11 }
Default Value
0
Remarks
The current segment will be a control segment footer/header or a transaction data segment.
This property is read-only.