DirectoryDelete Method (String, Boolean) |
Deletes an empty directory and, if indicated, any subdirectories and files in the directory.
Namespace: CMS.AzureStorageAssembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 13.0.131
Syntax public override void Delete(
string path,
bool recursive
)
Parameters
- path
- Type: SystemString
Path to directory - recursive
- Type: SystemBoolean
Delete if subdirs exists.
Exceptions Exception | Condition |
---|
PathTooLongException | path is too long |
ArgumentException | path contains invalid characters |
See Also