Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Trim Method

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.