Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.AzureStorage
Directory Class
Directory Methods
Delete Method
Delete Method (String)
Delete Method (String, Boolean)
Directory
Delete 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#
Copy
public
override
void
Delete
(
string
path
,
bool
recursive
)
Parameters
path
Type:
System
String
Path to directory
recursive
Type:
System
Boolean
Delete if subdirs exists.
Exceptions
Exception
Condition
PathTooLongException
path
is too long
ArgumentException
path
contains invalid characters
See Also
Reference
Directory Class
Delete Overload
CMS.AzureStorage Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com