Carbon


CollectionTagExists

Header: Collections.h Carbon status: Supported

Determines whether any of the items in a specified collection contain a specified collection tag.

Boolean CollectionTagExists (
    Collection c, 
    CollectionTag tag
);
c

A reference to the collection object you want to search for a specific collection tag. The behavior of this function is undefined if you do not provide a reference to a valid collection object.

tag

The collection tag to search for in the collection.

function result

True if the c collection contains any items that contain the specified tag.

DISCUSSION

For information about data types related to collection tags, see CollectionTag.

AVAILABILITY

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)