System.IOUtils.TFileShare

From XE2 API Documentation
Jump to: navigation, search

Delphi

type TFileShare = (fsNone, fsRead, fsWrite, fsReadWrite)

C++

enum class TFileShare : unsigned char { fsNone, fsRead, fsWrite, fsReadWrite };

Properties

Type Visibility Source Unit Parent
enum public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils System.IOUtils

Description

Enumerates the possible file share modes.

TFileShare enumerates the possible file share modes. The TFileShare enumeration is used in file management methods, indicating whether other processes have read, write, or no rights on the files opened by this process. The following are possible values of TFileShare.



Value Meaning

fsNone

The file is not shared.

fsRead

The file is shared in read-only mode.

fsWrite

The file is shared in write-only mode.

fsReadWrite

The file is shared in read-write mode.



See Also