System::IO::File::CreateText method
File::CreateText method
Creates a new or opens existing file for writing UTF-8 encoded text.
static StreamWriterPtr System::IO::File::CreateText(const String &path)
Parameter | Type | Description |
---|---|---|
path | const String& | The path of the file to create or open |
ReturnValue
A shared pointer to the StreamWriter object associated with the specified file
See Also
- Typedef StreamWriterPtr
- Class String
- Class File
- Namespace System::IO
- Library Aspose.PUB for C++