Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IFolderManager.RemoveFolder Method

Deletes the folder.

void RemoveFolder(
IFolder folder
);

#### Parameters

folder
  Folder to be deleted; cannot be `null`.

#### Remarks

If the folder contains sub-folders, all sub-folders and items in those sub-folders will be removed as well.

#### Exceptions

Exception Type | Condition
--- | ---
ContentSecurityException | The user does not have permission to delete the folder or one of its sub-folders.
ContentException | The method call resulted in a Content Server exception.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

IFolderManager Interface | Plumtree.Remote.PRC.Content.Folder Namespace