![]() |
CountTaggedCollectionItems |
||||
Header: | Collections.h | Carbon status: | Supported | |
Obtains the total number of items in a collection that have a specified collection tag.
SInt32 CountTaggedCollectionItems ( Collection c, CollectionTag tag );
A reference to the collection object whose items you want to count. The behavior of this function is undefined if you do not provide a reference to a valid collection object.
The collection tag associated with the items you want to count.
The total number of items in the c collection whose collection tags match the value specified in the tag parameter.0
To count all of the items in a collection, use the CountCollectionItems function.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)