System.IO Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.
Binary |
Reads primitive data types as binary values in a specific encoding. |
Binary |
Writes primitive types in binary to a stream and supports writing strings in a specific encoding. |
Buffered |
Adds a buffering layer to read and write operations on another stream. This class cannot be inherited. |
Directory |
Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. |
Directory |
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. |
Directory |
The exception that is thrown when part of a file or directory cannot be found. |
Drive |
Provides access to information on a drive. |
Drive |
The exception that is thrown when trying to access a drive or share that is not available. |
End |
The exception that is thrown when reading is attempted past the end of a stream. |
Enumeration |
Provides file and directory enumeration options. |
Error |
Provides data for the Error event. |
File |
Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of FileStream objects. |
File |
The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed. |
File |
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. |
File |
The exception that is thrown when a managed assembly is found but cannot be loaded. |
File |
The exception that is thrown when an attempt to access a file that does not exist on disk fails. |
File |
Provides a Stream for a file, supporting both synchronous and asynchronous read and write operations. |
File |
Defines a variety of configuration options for FileStream. |
File |
Provides Windows-specific static extension methods for manipulating Access Control List (ACL) security attributes for files and directories. |
File |
Provides data for the directory events: Changed, Created, Deleted. |
File |
Provides the base class for both FileInfo and DirectoryInfo objects. |
File |
Listens to the file system change notifications and raises events when a directory, or file in a directory, changes. |
Internal |
The exception thrown when the internal buffer overflows. |
Invalid |
The exception that is thrown when a data stream is in an invalid format. |
IODescription |
Sets the description visual designers can display when referencing an event, extender, or property. |
IOException |
The exception that is thrown when an I/O error occurs. |
Memory |
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. |
Path |
The exception that's thrown when a path or fully qualified file name is longer than the system-defined maximum length. |
Pipe |
Thrown when an error occurs within a named pipe. |
Random |
Provides offset-based APIs for reading and writing files in a thread-safe manner. |
Renamed |
Provides data for the Renamed event. |
Stream |
Provides a generic view of a sequence of bytes. This is an abstract class. |
Stream |
Implements a TextReader that reads characters from a byte stream in a particular encoding. |
Stream |
Implements a TextWriter for writing characters to a stream in a particular encoding. |
String |
Implements a TextReader that reads from a string. |
String |
Implements a TextWriter for writing information to a string. The information is stored in an underlying StringBuilder. |
Text |
Represents a reader that can read a sequential series of characters. |
Text |
Represents a writer that can write a sequential series of characters. This class is abstract. |
Unmanaged |
Provides random access to unmanaged blocks of memory from managed code. |
Unmanaged |
Provides access to unmanaged blocks of memory from managed code. |
Windows |
Contains extension methods for the IStorageFile and IStorageFolder interfaces in the Windows Runtime when developing Windows Store apps. |
Windows |
Contains extension methods for converting between streams in the Windows Runtime and managed streams in the .NET for Windows Store apps. |
Wait |
Contains information on the change that occurred. |
Drive |
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown. |
File |
Defines constants for read, write, or read/write access to a file. |
File |
Provides attributes for files and directories. |
File |
Specifies how the operating system should open a file. |
File |
Represents advanced options for creating a FileStream object. |
File |
Contains constants for controlling the kind of access other operations can have to the same file. |
Handle |
Specifies whether the underlying handle is inheritable by child processes. |
Match |
Specifies the type of character casing to match. |
Match |
Specifies the type of wildcard matching to use. |
Notify |
Specifies changes to watch for in a file or folder. |
Search |
Specifies whether to search the current directory, or the current directory and all subdirectories. |
Seek |
Specifies the position in a stream to use for seeking. |
Unix |
Represents the Unix filesystem permissions. This enumeration supports a bitwise combination of its member values. |
Watcher |
Changes that might occur to a file or directory. |
Error |
Represents the method that will handle the Error event of a FileSystemWatcher object. |
File |
Represents the method that will handle the Changed, Created, or Deleted event of a FileSystemWatcher class. |
Renamed |
Represents the method that will handle the Renamed event of a FileSystemWatcher class. |
Feedback zu .NET
.NET ist ein Open Source-Projekt. Wählen Sie einen Link aus, um Feedback zu geben: