LOTUSSCRIPT/COM/OLE CLASSES
Examples: NotesDocumentCollection class
1. This script uses the AllDocuments property in NotesDatabase to get a NotesDocumentCollection object representing all the documents in a database.
Dim db As New NotesDatabase( "Ankara", "project.nsf" )
Dim collection As NotesDocumentCollection
Set collection = db.AllDocuments
2. This script uses the Search method in NotesDatabase to get a NotesDocumentCollection object representing all of the documents created after March 14, 1995 whose Subject contains "lake".
Dim db As New NotesDatabase( "Ankara", "project.nsf" )
Dim dateTime As New NotesDateTime( "03/14/95" )
Dim selection As String
Dim collection As NotesDocumentCollection
selection = "@Contains( Subject; ""lake"" )"
Set collection = db.Search( selection, dateTime, 0 )
Véase también
NotesDocumentCollection class
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa