title | ms.assetid | ms.date | ms.localizationpriority |
---|---|---|---|
File Input/Output constants |
39efcfa2-9b74-e66e-813f-5aa9fdef3761 |
12/11/2018 |
medium |
These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions.
Constant | Value | Description |
---|---|---|
ForReading | 1 | Open a file for reading only. You can't write to this file. |
ForWriting | 2 | Open a file for writing. If a file with the same name exists, its previous contents are overwritten. |
ForAppending | 8 | Open a file and write to the end of the file. |
[!includeSupport and feedback]