IWritableVirtualPathProviderCreateDirectory 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: CS5Interfaces (in CS5Interfaces.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

void CreateDirectory(
	string virtualPath
)

Parameters

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

ExceptionCondition
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.
ArgumentExceptionvirtualPath is a zero-length string, contains only white space, or contains one or more invalid characters.
ArgumentNullExceptionvirtualPath is null
NotSupportedException The operation is not supported.
See Also

Reference