Gets the first document in a collection.
NotesDocumentCollection
S et notesDocument = notesDocumentCollection .GetFirstDocument
notesDocument
NotesDocument. The first document in the collection. If there are no documents in the collection, returns Nothing.
getFirstDocument method in Java™ DocumentCollection class
Example