LOTUSSCRIPT /COM/OLE のクラス


例:RemoveAllFromFolder メソッド
次の例は、コレクション内のすべての文書を、「Recipes」というフォルダにあるフォルダ「Spicy」から削除します。

Sub Click(Source As Button)
 Dim session As New NotesSession
 Dim db As NotesDatabase
 Dim collection As NotesDocumentCollection
 
 Set db = session.CurrentDatabase
 Set collection = db.FTSearch( "cayenne", 20 )
 Call collection.RemoveAllFromFolder( "Recipes\Spicy" )
End Sub

関連項目