ProjectFoldersDeleteFolder Method |
Deletes the folder, that means, this operation deletes the project items in the given folder and in all subfolders.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic bool DeleteFolder(
string sourceFolderName,
bool throwIfFolderDoesNotExists = false,
bool showConfirmationDialog = true
)
Parameters
- sourceFolderName String
- Name of the source folder.
- throwIfFolderDoesNotExists Boolean (Optional)
- If true, and the provided folder does not exist, a ArgumentOutOfRangeException
- showConfirmationDialog Boolean (Optional)
- If true, shows the confirmation dialog to confirm that the items should really be deleted.
Return Value
BooleanTrue if any item was deleted; otherwise, false.
See Also