O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.ObjectSystem.ValueTypeSystem.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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required