Summary
Writes the specified text to a file.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .IO - Containing Type
- IFile
Syntax
void WriteAllText(string contents, bool createDirectory = true)
Parameters
Name | Type | Description |
---|---|---|
contents | string | The text to write. |
createDirectory | bool | Will create any needed directories that don't already exist if set to true . |
Return Value
Type | Description |
---|---|
void |