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())
| Parameter | Type | الوصف |
|---|---|---|
| المسار | const String& | مسار الملف لفتحه |
| الترميز | const EncodingPtr& | ترميز الأحرف المستخدم |
ReturnValue
مؤشر مشترك إلى كائن StreamWriter مرتبط بالملف المفتوح
انظر أيضًا
- Typedef StreamReaderPtr
- Class String
- Typedef EncodingPtr
- Class File
- Namespace System::IO
- Library Aspose.Page for C++