Next Topic

Previous Topic

Book Contents

GetResultCount

Return the number of objects in the result buffer.

$result_count = $obj->GetResultCount;

This method provides a count of the number of objects that were found in the result of an earlier List<object> method (see CreateX, ListX, UpdateX, DeleteX, SuspendX, ResumeX, ExportX, MoveX). Note that if the result of the List<object> method returned results in bulk format (e.g. ListResult or ListEvent), this method will always return 0 since the results cannot be accessed using the GetResultRef method. Instead, look at the size of the array returned for the GetResultSet method.