Web
Docs
Framework
Guide
API
GitHub
Twitter
Get Help
Support/Buy
TestFile
.
Delete
()
Method
Namespace
Statiq
.Testing
Type
TestFile
Constructors
TestFile
(
I
Read
Only
File
System,
TestFileProvider,
NormalizedPath)
Method Members
Delete
()
GetCacheCodeAsync
()
GetContentProvider
()
GetContentProvider
(string)
Open
(bool)
OpenAppend
(bool)
OpenRead
()
OpenText
()
OpenWrite
(bool)
ReadAllBytesAsync
(CancellationToken)
ReadAllTextAsync
(CancellationToken)
Refresh
()
ToDisplayString
()
ToString
()
WriteAllBytesAsync
(byte[],
bool,
CancellationToken)
WriteAllTextAsync
(string,
bool,
CancellationToken)
Property Members
CreationTime
Directory
Exists
LastWriteTime
Length
MediaType
Path
Deletes the file.
Namespace
Statiq
.Testing
Containing Type
TestFile
Implements
IFile
.
Delete
()
Syntax
public void Delete()
On This Page
Syntax