Applies To
OCollection
Description
Trims a given number of elements from the end of the collection.
Usage
void Trim(int size) const throw(OException)
Arguments
size
An integer specifying the number of elements to trim.
Remarks
The elements are removed from the end of the collection. An error is returned
if size is greater than the current size of the collection.