System::IO::File::OpenText metodo
File::OpenText method
Apre il file esistente specificato per leggere testo usando la codifica UTF-8 senza condivisione.
static StreamReaderPtr System::IO::File::OpenText(const String &path, const EncodingPtr &encoding=Text::Encoding::get_UTF8Unmarked())
| Parametro | Tipo | Descrizione |
|---|---|---|
| percorso | const String& | Il percorso del file da aprire |
| encoding | const EncodingPtr& | La codifica dei caratteri da utilizzare |
ReturnValue
Un puntatore condiviso a un oggetto StreamWriter associato al file aperto
Vedi anche
- Typedef StreamReaderPtr
- Class String
- Typedef EncodingPtr
- Class File
- Namespace System::IO
- Library Aspose.Page for C++