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