VirtualPathAdapterCreateDirectory Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Creates the a new directory in a virtual file system.

Namespace: ContentStudio.Storage
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void CreateDirectory(
	string virtualPath
)

Parameters

virtualPath
Type: SystemString
The virtual path of the directory to create.

Implements

IWritableVirtualPathProviderCreateDirectory(String)
Exceptions

ExceptionCondition
IOExceptionThe directory specified by virtualPath already exists or its parent directory is read-only.
DirectoryNotFoundExceptionThe parent directory does not exist.
UnauthorizedAccessExceptionThe caller does not have the required permission.
ArgumentExceptionvirtualPath is a zero-length string, contains only white space, or contains one or more invalid characters.
ArgumentNullExceptionvirtualPath is null
NotSupportedExceptionThe operation is not supported.
See Also

Reference