Skip to content

ERPConnect.Idocs.IdocSegmentFieldCollection

Namespace: ERPConnect.Idocs
Assembly: ERPConnectStandard20.dll

Collection of IdocSegmentField objects

public class IdocSegmentFieldCollection : CollectionBase, IList, ICollection, IEnumerable

Inheritance

objectCollectionBaseIdocSegmentFieldCollection

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

public IdocSegmentFieldCollection()

Properties

this[int]

Returns a IdocSegmentField object at a given position

public virtual IdocSegmentField this[int Index] { get; set; }

Property Value

IdocSegmentField

this[string]

Returns a IdocSegmentField object at a given position

public virtual IdocSegmentField this[string SegmentName] { get; set; }

Property Value

IdocSegmentField

Methods

Add(IdocSegmentField)

Adds a new item to the collection

public void Add(IdocSegmentField NewParameter)

Parameters

NewParameter IdocSegmentField

Valid IdocSegmentField object

Add(string)

Creates a new IdocSegmentField object, adds it to the collection and returns it

public IdocSegmentField Add(string Name)

Parameters

Name string

Name of the segment field

Returns

IdocSegmentField

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

IdocSegmentField

Returns the newly created IdocSegmentField object