## FileInfo::OpenText method


Opens the existing file at the location specified by the path represented by the current object for reading text using UTF-8 encoding with no sharing.

```cpp
StreamReaderPtr System::IO::FileInfo::OpenText()
```


### ReturnValue

A shared pointer to a [StreamWriter](../../streamwriter/) object associated with the opened file

## See Also

* Typedef [StreamReaderPtr](../../../system/streamreaderptr/)
* Class [FileInfo](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
