Function : Views; Folders

NIFUpdateCollection - Update a collection.
----------------------------------------------------------------------------------------------------------

#include <nif.h>

STATUS LNPUBLIC NIFUpdateCollection(
HCOLLECTION hCollection);

Description :

This function updates an open collection. If the collection is out of date with respect to a database (if it was updated recently via NSFNoteUpdate), this routine can be called to perform a partial search of the database for all notes modified since the last time the collection was updated, and all notes found in the search are then added to the collection. You should update a collection when you have finished adding and/or deleting documents that you might subsequently wish to recognize in that collection.

A collection may not be automatically updated when it is closed and then reopened. This will happen when concurrent applications are modifying databases in which the views and documents are in separate databases.
Parameters :

See Also :

NIFOpenCollection
----------------------------------------------------------------------------------------------------------