Indicates if the data element is a component data element.
Syntax:
Remarks
A component element is a data element that belongs to a collection of data elements in a composite element.
Example
nElementCount = oSegment.Count
For i = 1 To nElementCount
Set oElements = oSegment.DataElement(i).DataElements
If oElements.Count > 1 Then
Set oElement = oElements.First
MsgBox oElement.IsComponent 'true
Else
Set oElement = oSegment.DataElement(i)
MsgBox oElement.IsComponent 'false
End If
Next
Sample