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

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

Deletes a file in a virtual file system.

Namespace: ContentStudio.Storage
Assembly: CS5Interfaces (in CS5Interfaces.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

void DeleteFile(
	string virtualPath
)

Parameters

virtualPath
Type: SystemString
The virtual path.
Exceptions

ExceptionCondition
IOException The file specified by virtualPath is read-only.
FileNotFoundException
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