ERPConnect.Idocs.IdocSegment
Namespace: ERPConnect.Idocs
Assembly: ERPConnectStandard20.dll
Represent a single IDoc segment with all its child segments
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
IdocSegment()
Properties
ChildSegments
Collection of all segment that are child relation to the current segment
Property Value
Description
A short description of the segment
Property Value
Fields
Fields represent the values and other Properties of the fields that are contained in one segment
Property Value
HasChildren
True / false whether child segments are existing
Property Value
MaxOccur
Defines how often a segment can occur
Property Value
SegmentName
The DDIC type for this segment
Property Value
SegmentType
The type name for this segment
Property Value
Methods
Clone()
Creates a cloned IdocSegment object
Returns
A new IdocSegment object
ReadDataBuffer(int, int)
Returns a part of the data buffer of a given length and a given position
Parameters
Offset
int
Offset where to read in the data buffer
Length
int
Length of the string
Returns
A string that contains tha part of data buffer
ToString()
Returns a string for debugging purpose
Returns
-
WriteDataBuffer(string, int, int)
Writes as string at a given position into the Idoc data buffer
Parameters
Content
string
The string to be written
Offset
int
The offset in the buffer where the string should be placed
Length
int
The length of the string