## File::WriteAllText method


Maakt een nieuw tekstbestand aan of overschrijft het bestaande en schrijft de inhoud van de opgegeven string erin met de opgegeven codering.

```cpp
static void System::IO::File::WriteAllText(const String &path, const String &contents, const EncodingPtr &encoding=Text::Encoding::get_UTF8Unmarked())
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| pad | const String\& | Het bestand om te maken of te overschrijven |
| inhoud | const String\& | Een string-array |
| encoding | const EncodingPtr\& | De te gebruiken tekenencodering |

## Zie ook

* Class [String](../../../system/string/)
* Typedef [EncodingPtr](../../../system/encodingptr/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
