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.FileSystemStorage
Assembly: CMS.FileSystemStorage (in CMS.FileSystemStorage.dll) Version: 8.2.23
Syntax
C#
public override void Delete(
	string path,
	bool recursive
)

Parameters

path
Type: SystemString
Path to directory
recursive
Type: SystemBoolean
If delete if subdirs exists
See Also