Liquid XML Data Binder 2019
C++ Item - Primitive Collection
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > Cbase64BinaryCol > C++ Item - Primitive Collection
XXXX Item(int index)
  Property Description  
    Method Name Item  
    Argument - index The 0 based index of the item to get  
    Returns The object at the given index  
    Description Gets a given object from the collection  
    Remarks If the index is out of range an exception is raised.
A more efficent way to iterate through collection is to use the iterator - see iterator, begin, end
 
    Example for (int i = 0; i < root->GetInvoices()->GetCount(); i++)
{
     printf("Item %d in the collection is invoice number %d\n",
          i, root->GetInvoices()->Item(i)->GetInvoiceNumber());
}