Important: The information in this document is obsolete and should not be used for new development.
CountCollectionItems
You can use theCountCollectionItems
function to determine the total number of items in a collection.
long CountCollectionItems(Collection source);
source
- A reference to the collection object whose items you want to count.
- function result
- The total number of items in the source collection.
DESCRIPTION
TheCountCollectionItems
function returns as its function result the total number of items in the collection referenced by thesource
parameter.SEE ALSO
For information about collection items, see "Collection Items" beginning on page 5-8.For examples using this function, see "Adding Items to a Collection" beginning on page 5-17.
To count the items in a collection that have a specified collection tag, use the
CountTaggedCollectionItems
function, described in the next section.