Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
[This is preliminary documentation and is subject to change.]
Moves and/or renames a directory in a virtual file system.
Namespace: ContentStudio.Storage
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- sourceVirtualPath
- Type: SystemString
The virtual path. - destinationVirtualPath
- Type: SystemString
The new virtualPath of the directory.
Implements
IWritableVirtualPathProviderMoveDirectory(String, String)Exceptions
Exception | Condition |
---|---|
IOException |
The sourceVirtualPath and destinationVirtualPath parameters refer to the same directory.
-or- destinationVirtualPath already exists. -or- an attempt was made to move a parent directory to one of its descendants. |
DirectoryNotFoundException | |
UnauthorizedAccessException | The caller does not have the required permission. |
ArgumentException | sourceVirtualPath or destinationVirtualPath is a zero-length string, contains only white space, or contains one or more invalid characters. |
ArgumentNullException | sourceVirtualPath or destinationVirtualPath is null |
NotSupportedException | The operation is not supported. |
See Also