System::IO::File::OpenText メソッド
File::OpenText method
UTF-8 エンコーディングを使用し、共有せずに、指定された既存ファイルをテキスト読み取り用に開きます。
static StreamReaderPtr System::IO::File::OpenText(const String &path, const EncodingPtr &encoding=Text::Encoding::get_UTF8Unmarked())
| パラメーター | 型 | 説明 |
|---|---|---|
| パス | const String& | 開くファイルのパス |
| エンコーディング | const EncodingPtr& | 使用する文字エンコーディング |
ReturnValue
開かれたファイルに関連付けられた StreamWriter オブジェクトへの shared pointer
参照
- Typedef StreamReaderPtr
- Class String
- Typedef EncodingPtr
- Class File
- Namespace System::IO
- Library Aspose.Page for C++