طريقة System::IO::File::WriteAllText
File::WriteAllText method
ينشئ ملف نص جديد أو يستبدل الموجود ويكتب محتوى السلسلة المحددة إليه باستخدام الترميز المحدد.
static void System::IO::File::WriteAllText(const String &path, const String &contents, const EncodingPtr &encoding=Text::Encoding::get_UTF8Unmarked())
| Parameter | Type | الوصف |
|---|---|---|
| المسار | const String& | الملف لإنشائه أو استبداله |
| المحتويات | const String& | مصفوفة سلاسل |
| الترميز | const EncodingPtr& | ترميز الأحرف المستخدم |
انظر أيضًا
- Class String
- Typedef EncodingPtr
- Class File
- Namespace System::IO
- Library Aspose.Page for C++