Documents (NotesUIView - LotusScript®)

Read-only. The documents that are currently selected in a view.

Defined in

NotesUIView

Data type

NotesDocumentCollection

Syntax

To get: Set notesDocumentCollection = notesUIView .Documents

Usage

In NotesUIView events such as QueryOpen where you cannot have documents selected, Documents.Count is 0.

In the QueryPaste event, Documents does not contain a list of the documents being pasted. You can use the Documents property in the Postpaste event to access thelist after the documents are pasted, or you can create an agent to process pasted documents.

Example