System::IO::File::Create method
Contents
[
Hide
]File::Create method
Creates a new file (or overwrites existing) and opens it for reading and writing access using the specified buffer size and options.
static FileStreamPtr System::IO::File::Create(const String &path, int32_t bufferSize=DefaultBufferSize, FileOptions options=FileOptions::None)
Parameter | Type | Description |
---|---|---|
path | const String& | The path of the file to create or overwrite |
bufferSize | int32_t | The number of bytes buffered when reading from and writing to the file |
options | FileOptions | Specifies how to create or overwrite the file |
ReturnValue
A shared pointer to the FileStream object associated with the specified file
See Also
- Typedef FileStreamPtr
- Class String
- Enum FileOptions
- Class File
- Namespace System::IO
- Library Aspose.TeX for C++