Liquid XML Data Binder 2020
Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / Cbase64BinaryCol / C++ Item - Primitive Collection
In This Topic
    C++ Item - Primitive Collection
    In This Topic
    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());
    }