ERPConnect.Idocs.IdocSegmentFieldCollection
Namespace: ERPConnect.Idocs
Assembly: ERPConnectStandard20.dll
Collection of IdocSegmentField objects
Inheritance
object ← CollectionBase ← IdocSegmentFieldCollection
Implements
IList, ICollection, IEnumerable
Inherited Members
CollectionBase.Clear(), CollectionBase.RemoveAt(int), CollectionBase.GetEnumerator(), CollectionBase.OnSet(int, object, object), CollectionBase.OnInsert(int, object), CollectionBase.OnClear(), CollectionBase.OnRemove(int, object), CollectionBase.OnValidate(object), CollectionBase.OnSetComplete(int, object, object), CollectionBase.OnInsertComplete(int, object), CollectionBase.OnClearComplete(), CollectionBase.OnRemoveComplete(int, object), CollectionBase.InnerList, CollectionBase.List, CollectionBase.Capacity, CollectionBase.Count, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
IdocSegmentFieldCollection()
Initializes an empty collection
Properties
this[int]
Returns a IdocSegmentField object at a given position
Property Value
this[string]
Returns a IdocSegmentField object at a given position
Property Value
Methods
Add(IdocSegmentField)
Adds a new item to the collection
Parameters
NewParameter
IdocSegmentField
Valid IdocSegmentField object
Add(string)
Creates a new IdocSegmentField object, adds it to the collection and returns it
Parameters
Name
string
Name of the segment field
Returns
Returns the newly created IdocSegmentField object
Add(string, string, int, int, string, object)
Creates a new IdocSegmentField object, adds it to the collection and returns the new object
public IdocSegmentField Add(string Name, string Description, int Length, int Offset, string DataType, object FieldValue)
Parameters
Name
string
Name of the segment field
Description
string
Description of the segment field
Length
int
Length of the segment field
Offset
int
Offset in data buffer of the segment field
DataType
string
Data type of the segment field
FieldValue
object
The value
Returns
Returns the newly created IdocSegmentField object