Description

Implementations of this class are required to preserve the case of path strings. Implementations are required to be case sensitive if and only if the platform is case-sensitive.

The following table describes the enumerations that are used to customize the behavior of various System.IO.File methods.

EnumerationDescription
System.IO.FileAccessSpecifies read and write access to a file.
System.IO.FileShareSpecifies the level of access permitted for a file that is already in use.
System.IO.FileModeSpecifies whether the contents of an existing file are preserved or overwritten, and whether requests to create an existing file cause an exception.

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library 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.