Opens the file for writing. This will either create the file
if it doesn't exist or append to it if it does.
- Namespace
- Statiq
.Common - Containing Type
- IFile
Syntax
Stream OpenAppend(bool createDirectory = true)
Parameters
| Name | Type | Description |
|---|---|---|
| createDirectory | bool | Will create any needed directories that don't already exist if set to true. |
Return Value
| Type | Description |
|---|---|
| Stream | The stream. |