GetDocument (NotesDocumentCollection - LotusScript®)

Returns the entry in the collection that corresponds to the specified document.

Note: This method is new with Release 5.

Defined in

NotesDocumentCollection

Syntax

Set notesDocument = notesDocumentCollection .GetDocument( document )

Parameters

document

NotesDocument. Any document in the collection. If you specify Nothing, this method generates an error.

Return value

notesDocument

NotesDocument. The document that matches the notesDocument parameter. If the specified document doesn't exist, returns Nothing.

Example