FindNext Method  
 

Find the next stored object that matches a label or content type.

Syntax

object.FindNext

Parameters

None.

Return Value

A value of True is returned if a matching object exists. If there are no more matching objects, or an error occurs, a value of False is returned and the LastError property will return the specific cause of the failure. If the LastError property returns a value of zero, then no error occurred and there are no additional matching objects.

Remarks

The FindNext method returns information about the next object that matches a given label, content type or both. This method may only be called after the FindFirst method is called, otherwise it will fail.

If a matching object exists, various properties that return information about the current object, such as ObjectId and ObjectSize will be updated to return the metadata associated with the object.

See Also

Exists Method, FindFirst Method