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.]
Deletes a file 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.
Implements
IWritableVirtualPathProviderDeleteFile(String)Exceptions
Exception | Condition |
---|---|
IOException | The file specified by virtualPath is read-only. |
FileNotFoundException | |
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