Click or drag to resize

ProjectFoldersDeleteFolder Method

Deletes the folder, that means, this operation deletes the project items in the given folder and in all subfolders.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool DeleteFolder(
	string sourceFolderName,
	bool throwIfFolderDoesNotExists = false
)

Parameters

sourceFolderName  String
Name of the source folder.
throwIfFolderDoesNotExists  Boolean  (Optional)
If true, and the provided folder does not exist, a ArgumentOutOfRangeException

Return Value

Boolean
True if any item was deleted; otherwise, false.
See Also