LOTUSSCRIPT/COM/OLE CLASSES


Collecting all documents and all unprocessed documents
Example

The AllDocuments property of the NotesDatabase class is a NotesDocumentCollection object that contains all the data documents in a database. The UnprocessedDocuments property applies only to agents and view actions. For agents, this property contains all documents not yet processed by the agent or the result of the search specified in the agent's Document Selection object, depending on how you create the agent. For view actions, this property contains all selected documents. Use GetModifiedDocuments in NotesDatabase to get documents modified since a specified time.

The NotesDocumentCollection class has the following properties and methods for accessing documents:


The documents in a document collection are not ordered.

The NotesDocumentCollection class contains the following properties:
PropertyData typeDescription
CountLong(Read-only) Number of documents in the collection
IsSortedBoolean(Read-only) True if the documents are sorted
ParentNotesDatabase(Read-only) Database that contains the collection
QueryString(Read-only) Text of the query that created the collection
UntilTimeNotesDateTime(Read-only) Database end time for a collection made through GetModifiedDocuments in NotesDatabase

Example
See Also