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:
Property
|
Data type
|
Description
|
Long |
(Read-only) Number of documents in the collection |
|
Boolean |
(Read-only) True if the documents are sorted |
|
NotesDatabase |
(Read-only) Database that contains the collection |
|
String |
(Read-only) Text of the query that created the collection |
|
NotesDateTime |
(Read-only) Database end time for a collection made through GetModifiedDocuments in NotesDatabase |
See examples