Important: The information in this document is obsolete and should not be used for new development.
PurgeCollectionTag
You use thePurgeCollectionTag
function to remove from a collection all items with a specific collection tag.
void PurgeCollectionTag(Collection target, CollectionTag tag);
target
- A reference to the collection object containing the items you want to remove.
tag
- The collection tag associated with the items to remove.
DESCRIPTION
ThePurgeCollectionTag
function removes from the target collection all items whose collection tag matches the value of thetag
parameter. This function removes locked and unlocked items.SEE ALSO
For information about collection items, see "Collection Items" beginning on page 5-8.For examples using this function, see "Removing Items From a Collection" beginning on page 5-30.
To remove all of the items in a collection whose attributes match a specified pattern, use the
PurgeCollection
function, described in the previous section.To remove every item in a collection, use the
EmptyCollection
function, described in the next section.