removeFromFolder (Document - Java)

Removes a document from a folder.

Defined in

Document

Syntax

public void removeFromFolder(String name)
    throws NotesException

Parameters

String name

The name of the folder from which to remove the document. The folder may be personal if the program is running on a workstation. If the folder is within another folder, specify a path to it, separating folder names with backslashes. For example:

"Vehicles\\Bikes"

Usage

The method does nothing if the document is not in the folder you specify, or if the folder you specify does not exist.

Example