## File::AppendText method


Crea un objeto [StreamWriter](../../streamwriter/) que agrega texto al archivo especificado usando codificación UTF-8. Si el archivo especificado no existe, se crea.

```cpp
static StreamWriterPtr System::IO::File::AppendText(const String &path)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| ruta | const String\& | La ruta del archivo a abrir o crear |

### ReturnValue

Un puntero compartido al objeto [StreamWriter](../../streamwriter/) creado asociado con el archivo especificado

## Ver también

* Typedef [StreamWriterPtr](../../../system/streamwriterptr/)
* Class [String](../../../system/string/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
