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.Page for C++