Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Product Manuals » Elevate Web Builder 3 Manual » Component Reference » TFileStream » Create Method |
constructor Create(const AFileName: String; const Mode: Integer; const Rights: Integer=0)
Open Mode | Description |
FILE_CREATE ($FF00) | Specifies that the file should be created, regardless of whether the file already exists. |
FILE_CREATE_EXCLUSIVE ($0004) | OR'd with FILE_CREATE, specifies that the file should only be created if it doesn't already exist. If the file already exists, then an exception is raised. |
FILE_OPEN_READ ($0000) | Specifies that the file should be opened with read capabilities. |
FILE_OPEN_WRITE ($0001) | Specifies that the file should be opened with write capabilities. |
FILE_OPEN_READWRITE ($0002) | Specifies that the file should be opened with read and write capabilities. |
Sharing Mode | Description |
FILE_SHARE_EXCLUSIVE ($0010) | Specifies that no other processes will be able to open the file until the file stream is destroyed. |
FILE_SHARE_DENYWRITE ($0020) | Specifies that no other processes will be able to write to the file until the file stream is destroyed. |
FILE_SHARE_DENYNONE ($0040) | Specifies that other processes will be able to open, read, and write to the file. |
This web page was last updated on Tuesday, April 23, 2024 at 09:24 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |