
Since
Thomas Adrian posted about this in swedish, I thought I'd post about it in english. Thanks for the tip, Thomas!
Thomas, like most of us, has used his own approach to creating an empty NotesDocumentCollection, since there is no New constructor for this class. I thought that my approach to it was better, since he used NotesDatabase.FTSearch, which could potentially take a lot of time. Instead, I use the NotesDatabase.GetProfileDocCollection.
Sub Initialize
Dim ns As New NotesSession
Dim db As NotesDatabase
Dim dc As NotesDocumentCollection
Set db = ns.CurrentDatabase
Set dc = db.GetProfileDocCollection("Foo")
End Sub
This will give you an empty NotesDocumentCollection, as quickly as possible. Using NotesDatabase.GetProfileDocCollection has the advantage of searching through only the profile documents of the database (of course), and since profile documents are cached, this should be the fastest, and simplest, way to create an empty collection. Make sure to use a profile name (where I have used "Foo") that doesn't exist in your database, and you will be certain that the collection is empty.
Update: Follow-up
(7)