Name
FileAccess
Synopsis
This enumeration represents the various access levels a program can exercise on a file. Programs can read, write, or do both.
public enum FileAccess { Read = 0x00000001, Write = 0x00000002, ReadWrite = 0x00000003 }
Hierarchy
System.Object→System.ValueType→System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)→FileAccess
Passed To
File.Open()
, FileInfo.Open()
, FileStream.FileStream()
, System.IO.IsolatedStorage.IsolatedStorageFileStream.IsolatedStorageFileStream()
, System.Net.Sockets.NetworkStream.NetworkStream()
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.