EDIFACT Integrator - Online Help
EDIFACT Integrator
Questions / Feedback?

XElements Property

Collection of elements in the current EDI segment.

Syntax

[VB.NET]
Public ReadOnlyProperty XElements As EDIElementList

[C#]
public EDIElementList XElements {get;}

Remarks

When BuildDOM is set to bdEntireDocument or bdTransaction, this property will be populated when XPath is set to a valid segment within the document.

When BuildDOM is set to bdNone, this property will be populated for each event with the parsed out elements for that particular segment.

This collection is indexed from 0 to Count - 1.

Example (Loop through all Elements of an Segment)


For i = 0 to EDIReader.XElements.Count - 1
	DoSomethingWith(EDIReader.XElements(i).Name, EDIReader.XElements(i).Value)
Next i

This property is read-only and not available at design time.

Default Value

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 1.0.6635.0