ParseAggregate Method
Parses the aggregate returned from another component's ItemAggregate property.
Syntax
[VB.NET] Public Sub ParseAggregate(ByVal Aggregate As String)
[C#] public void ParseAggregate(string aggregate);
Remarks
This method takes the XML aggregate returned from any component's ItemAggregate property, and then fills all the properties of this component. For example:
Invoice.Add() For (i = 0 to Invoice.ItemCount - 1) LineItems.ParseAggregate(Invoice.ItemAggregate[0]) Debug.Print(LineItems.ItemName & VbTab & LineItems.Quantity & VbTab & LineItems.Amount) Next