System::IO::FileInfo::Open method
Contents
[
Hide
]FileInfo::Open(FileMode) method
Opens the file represented by the current object in the specified mode for reading and writing and with no sharing.
FileStreamPtr System::IO::FileInfo::Open(FileMode mode)
Parameter | Type | Description |
---|---|---|
mode | FileMode | Specifies the mode in which to open the flie |
ReturnValue
A FileStream object associated with the file represented by the current object
See Also
- Typedef FileStreamPtr
- Enum FileMode
- Class FileInfo
- Namespace System::IO
- Library Aspose.PDF for C++
FileInfo::Open(FileMode, FileAccess) method
Opens the file represented by the current object in the specified mode, with the specified access type and with no sharing.
FileStreamPtr System::IO::FileInfo::Open(FileMode mode, FileAccess access)
Parameter | Type | Description |
---|---|---|
mode | FileMode | Specifies the mode in which to open the flie |
access | FileAccess | The requested access type |
ReturnValue
A FileStream object associated with the file represented by the current object
See Also
- Typedef FileStreamPtr
- Enum FileMode
- Enum FileAccess
- Class FileInfo
- Namespace System::IO
- Library Aspose.PDF for C++
FileInfo::Open(FileMode, FileAccess, FileShare) method
Opens the file represented by the current object in the specified mode, with the specified access type and sharing option.
FileStreamPtr System::IO::FileInfo::Open(FileMode mode, FileAccess access, FileShare share)
Parameter | Type | Description |
---|---|---|
mode | FileMode | Specifies the mode in which to open the flie |
access | FileAccess | The requested access type |
share | FileShare | The type of access that other FileStream objects have to the opened file |
ReturnValue
A FileStream object associated with the file represented by the current object
See Also
- Typedef FileStreamPtr
- Enum FileMode
- Enum FileAccess
- Enum FileShare
- Class FileInfo
- Namespace System::IO
- Library Aspose.PDF for C++