Skip to content

ERPConnect.Idocs.IdocSegmentCollection

Namespace: ERPConnect.Idocs
Assembly: ERPConnectStandard20.dll

Represents a collection over several IdocSegment objects which are related to each other.

public class IdocSegmentCollection : CollectionBase, IList, ICollection, IEnumerable

Inheritance

objectCollectionBaseIdocSegmentCollection

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

IdocSegmentCollection()

public IdocSegmentCollection()

Properties

this[int]

Returns a IdocSegment object at a given position

public virtual IdocSegment this[int Index] { get; }

Property Value

IdocSegment

this[string, int]

Returns a IdocSegment object by providing the name of the segment. Attention!! The name may be not unique, so an Index must be provided too.

public virtual IdocSegment this[string SegmentName, int Index] { get; }

Property Value

IdocSegment

Methods

Add(IdocSegment)

Adds a new segment object to the collection.

public virtual void Add(IdocSegment NewSegment)

Parameters

NewSegment IdocSegment

The segment to be aded


Last update: January 4, 2024