Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration OpenFileMode

Index

Enumeration members

Read

Read: = OpenFileModeMask.ReadBit
  Read         bit 0   The file is opened for reading. If this bit is not
                       set the Read Method cannot be executed.

ReadWrite

ReadWrite: = OpenFileModeMask.ReadBit + OpenFileModeMask.WriteBit

ReadWriteAppend

ReadWriteAppend: = OpenFileModeMask.AppendBit + OpenFileModeMask.WriteBit + OpenFileModeMask.ReadBit

ReadWriteEraseExisting

ReadWriteEraseExisting: = OpenFileModeMask.EraseExistingBit + OpenFileModeMask.WriteBit + OpenFileModeMask.ReadBit

Write

Write: = OpenFileModeMask.WriteBit
 Write         bit 1   The file is opened for writing. If this bit is not
                       set the Write Method cannot be executed.

WriteAppend

WriteAppend: = OpenFileModeMask.AppendBit + OpenFileModeMask.WriteBit
 Append        3   When the Append bit is set the file is opened at end
                   of the file, otherwise at begin of the file.
                   The SetPosition Method can be used to change the position.

WriteEraseExisting

WriteEraseExisting: = OpenFileModeMask.EraseExistingBit + OpenFileModeMask.WriteBit

WriteEraseExisting EraseExisting 2 This bit can only be set if the file is opened for writing (Write bit is set). The existing content of the file is erased and an empty file is provided.

Generated using TypeDoc