Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Contains types that facilitate reading from and writing to data streams.
Classes
Class | Description | |
---|---|---|
![]() |
Directory | Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. |
![]() |
DirectoryInfo | Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. |
![]() |
File | Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects. |
![]() |
FileEnum | Contains members for working with files. |
![]() |
FileEnumerator | Exposes the file enumerator, which supports a simple iteration over a collection. |
![]() |
FileInfo | Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects. This class cannot be inherited. |
![]() |
FileStream | Exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations. |
![]() |
FileSystemInfo | Provides the base class for both FileInfo and DirectoryInfo objects. |
![]() |
IOException | The exception that is thrown when an I/O error occurs. |
![]() |
MemoryStream | Creates a stream whose backing store is memory. |
![]() |
Path | Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner. |
![]() |
Stream | Provides a generic view of a sequence of bytes. |
![]() |
StreamReader | Implements a TextReader that reads characters from a byte stream in a particular encoding. |
![]() |
StreamWriter | Implements a TextWriter for writing characters to a stream in a particular encoding. |
![]() |
TextReader | Represents a reader that can read a sequential series of characters. |
![]() |
TextWriter | Represents a writer that can write a sequential series of characters. This class is abstract. |
Enumerations
Enumeration | Description | |
---|---|---|
![]() |
FileAccess | Defines constants for read, write, or read/write access to a file. |
![]() |
FileAttributes | Provides attributes for files and directories. |
![]() |
FileEnumFlags | Contains values to represent files and directories. |
![]() |
FileMode | Specifies how the operating system should open a file. |
![]() |
FileShare | Contains constants for controlling the kind of access other FileStream objects can have to the same file. |
![]() |
IOException. . :: . .IOExceptionErrorCode | Provides values for error codes. |
![]() |
SeekOrigin | Specifies the position in a stream to use for seeking. |