Summary
Opens the file for writing.
If the file already exists, it will be overwritten.
- Namespace
- Cake
.Core .IO - Containing Type
- FileExtensions
Syntax
public static Stream OpenWrite(this IFile file)
Parameters
Name | Type | Description |
---|---|---|
file | IFile | The file to be opened. |
Return Value
Type | Description |
---|---|
Stream | A Stream to the file. |