FileAccess Enum

Defines constants for read, write, or read/write access to a file.

Syntax

Declaration

[Serializable]
[Flags]
[ComVisible(true)]
public enum FileAccess

Fields

Read

Read access to the file. Data can be read from the file. Combine with Write for read/write access.

ReadWrite

Read and write access to the file. Data can be written to and read from the file.

Write

Write access to the file. Data can be written to the file. Combine with Read for read/write access.

Attributes

System.FlagsAttribute

Details

Namespace

System.IO

Assembly

System.IO.FileSystem.Primitives.dll

See Also