LOTUSSCRIPT /COM/OLE のクラス
例:NotesDocumentCollection クラス
1 次のスクリプトは NotesDatabase の AllDocuments プロパティを使って、データベースのすべての文書を表す NotesDocumentCollection オブジェクトを取得します。
Dim db As New NotesDatabase( "Ankara", "project.nsf" )
Dim collection As NotesDocumentCollection
Set collection = db.AllDocuments
2 次のスクリプトは NotesDatabase の Search メソッドを使って NotesDocumentCollection オブジェクトを取得します。NotesDocumentCollection オブジェクトは、1995 年 3 月 14 日以降に作成されて [Subject] に「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 )
関連項目
NotesDocumentCollection クラス
用語集
ヘルプに対するフィードバック
ヘルプの使い方
ヘルプを開く
用語集
ヘルプに対するフィードバック
ヘルプの使い方
ヘルプを開く