Important: The information in this document is obsolete and should not be used for new development.
PurgeCollectionTag
You use thePurgeCollectionTagfunction 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
ThePurgeCollectionTagfunction removes from the target collection all items whose collection tag matches the value of thetagparameter. 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
PurgeCollectionfunction, described in the previous section.To remove every item in a collection, use the
EmptyCollectionfunction, described in the next section.