Summary
Deletes the file.
- Namespace
- Cake
.Testing - Containing Type
- FakeFile
Syntax
public void Delete()
Examples
var file = context.FileSystem.GetFile("./temp.txt");
file.Delete();
Return Value
| Type | Description |
|---|---|
| void |
public void Delete()
var file = context.FileSystem.GetFile("./temp.txt");
file.Delete();
| Type | Description |
|---|---|
| void |