FileStream()
Contents
[
Hide
]FileStream::FileStream(const String&, FileMode) constructor
Constructs a new instance of FileStream class and initializes it with the specified parameters.
System::IO::FileStream::FileStream(const String &path, FileMode mode)
Arguments
Parameter | Type | Description |
---|---|---|
path | const String& | The path of the file to open. |
mode | FileMode | Specifies the mode in which to open the file. |
FileStream::FileStream(const String&, FileMode, FileAccess, FileShare, int32_t, FileOptions) constructor
Constructs a new instance of FileStream class and initializes it with the specified parameters.
System::IO::FileStream::FileStream(const String &path, FileMode mode, FileAccess access, FileShare share=FileShare::Read, int32_t buffer_size=DefaultBufferSize, FileOptions options=FileOptions::SequentialScan)
Arguments
Parameter | Type | Description |
---|---|---|
path | const String& | The path of the file to open. |
mode | FileMode | Specifies the mode in which to open the file. |
access | FileAccess | The requested access type. |
share | FileShare | The type of access that other FileStream objects have to the opened file. |
buffer_size | int32_t | The number of bytes bufferred during read and write operations. |
options | FileOptions | Additional options. |
FileStream::FileStream(const FileStream&) constructor
System::IO::FileStream::FileStream(const FileStream &)=delete
See Also
- Enum FileMode
- Enum FileAccess
- Enum FileShare
- Enum FileOptions
- Class String
- Class FileStream
- Namespace System::IO
- Library Aspose.Slides