LOTUSSCRIPT/COM/OLE CLASSES


Contains method
Example

Indicates whether or not a NotesViewEntryCollection contains all of the NotesDocuments or NotesViewEntries given.

Note This method is new with Release 8.

Defined in

NotesViewEntryCollection

Data type

Boolean

Syntax

flag = notesViewEntryCollection.Contains( inputNotes )

Parameters

inputNotes


Return values
Usage

The document or documents whose containment this method determines (or the view entries associated with those documents) must be in the same database as the original collection. Otherwise, the method will return the error "the specified note or notes do not exist in the database" or, if a noteID was passed to the method that matches a noteID in the original collection's database, the method will use the unintended document.

If inputNotes is an empty collection, this method will return True.

Example
See Also