Click or drag to resize
DirectoryDelete Method (String, Boolean)
Deletes an empty directory and, if indicated, any subdirectories and files in the directory.

Namespace: CMS.AzureStorage
Assembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 12.0.0
Syntax
C#
public override void Delete(
	string path,
	bool recursive
)

Parameters

path
Type: SystemString
Path to directory
recursive
Type: SystemBoolean
Delete if subdirs exists.
Exceptions
ExceptionCondition
PathTooLongExceptionpath is too long
ArgumentExceptionpath contains invalid characters
See Also