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