removeAllFromFolder (DocumentCollection - Java)

Removes all documents in the collection from the specified folder.

Defined in

DocumentCollection

Syntax

public void removeAllFromFolder(String foldername)
    throws NotesException

Parameters

String foldername

The name of the folder from which to remove the document. The folder may be personal if the script is running on a workstation. If the folder is within another folder, specify a path to it, separating folder names with backward slashes. For example, "Vehicles\\Bikes".

Usage

This method moves the current pointer to the first document in the collection.

The method does nothing for documents not in the folder you specify. This method does nothing if the folder you specify does not exist.

Example