intersect (NotesDocumentCollection - JavaScript™)
Removes from a document collection any documents that do not intersect with specified documents.
Defined in
NotesDocumentCollectionSyntax
intersect(noteid:string) : void
intersect(noteid:int) : void
intersect(documents:NotesBase) : void
Parameter | Description |
---|---|
notid |
Note ID of a document. |
documents |
An object of type NotesDocument, NotesDocumentCollection, NotesViewEntry, or NotesViewEntryCollection. View entries must point to documents. |
Usage
The document or documents being applied by this method must be in the same database as the original collection. Otherwise, this method returns the errorthe specified note or notes do not exist in the databaseor, if a note ID was passed to the method that matches a note ID in the original collection's database, the method uses the unintended document.
On successful completion of this method, the original document collection contains only the documents it contained prior to the call that are also contained in the parameter.