LOTUSSCRIPT/COM/OLE CLASSES


DeleteDocument method
Example

Deletes a document from a collection (not from the disk).

Note This method is new with Release 5.

Defined in

NotesDocumentCollection

Syntax

Call notesDocumentCollection.DeleteDocument( document )

Parameters

document


Usage

The specified document must have originated in this collection. If the document does not exist in the collection, or if it was removed from the database by a RemoveAll operation, an error will be raised.

Language cross-reference

deleteDocument method in Java DocumentCollection class

EditClear @command in formula language

Clear @command in formula language

MoveToTrash @command in formula language

Example