Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 5 - Collection Manager / Collection Manager Reference
Functions


Removing Items From a Collection

The functions described in this section allow you to remove items from a collection.

The RemoveCollectionItem and RemoveIndexedCollectionItem functions allow you to remove a single item from a collection. You use the RemoveCollectionItem function if you want to specify the item to remove using the item's tag and ID. You use the RemoveIndexedCollectionItem function if you want to specify the item to remove using the item's index.

The PurgeCollection function allows you to remove from a collection all the items whose attributes match a specified pattern.

The PurgeCollectionTag function allows you to remove from a collection all the items with a specified collection tag.

The EmptyCollection function allows you to remove every item from a collection.


Subtopics
RemoveCollectionItem
RemoveIndexedCollectionItem
PurgeCollection
PurgeCollectionTag
EmptyCollection

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996