XFields Property
Collection of fields in the current IDoc segment.
Syntax
[VB.NET] Public ReadOnlyProperty XFields As IDocSegmentFieldList
[C#] public IDocSegmentFieldList XFields {get;}
Remarks
This property will be populated when XPath is set to a valid segment within the document.
This collection is indexed from 0 to Count - 1.
Example (Loop through all Elements of an Segment)
For i = 0 to IDocReader.XFields.Count - 1 DoSomethingWith(IDocReader.XFields(i).Name, IDocReader.XFields(i).Value) Next i
This property is read-only and not available at design time.