allInstancesInPartition

allInstancesInPartition(partID:       Integer64;
                        objArray:     ObjectArray;
                        maxInstances: Integer64);

The allInstancesInPartition method of the Class class adds instances of the receiver class stored in the partition specified in the partID parameter to the array specified in the objArray parameter. (Note that the object array is not cleared before instances are added.)

The maxInstances parameter specifies the maximum number of instances returned in the objArray parameter. A maxInstances parameter value of zero (0) indicates that there is no maximum number of instances.

The maximum value for the maxInsts parameter is 4,294,967,295 (2^32-1), which corresponds to the maximum number of entries that can be stored in the objArray collection.

An exception is raised if the specified partition identifier is out of range or if the file is not partitioned.