Content Studio Web Content Management System
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
[This is preliminary documentation and is subject to change.]
Creates the a new directory in a virtual file system.
Namespace: ContentStudio.Site.Storage
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- virtualPath
- Type: SystemString
The virtual path of the directory to create.
Implements
IWritableVirtualPathProviderCreateDirectory(String)Exceptions
Exception | Condition |
---|---|
IOException | The directory specified by virtualPath already exists or its parent directory is read-only. |
DirectoryNotFoundException | The parent directory does not exist. |
UnauthorizedAccessException | The caller does not have the required permission. |
ArgumentException | virtualPath is a zero-length string, contains only white space, or contains one or more invalid characters. |
ArgumentNullException | virtualPath is null |
NotSupportedException | The operation is not supported. |
See Also