System.IO

System.IO Namespace

 

The System.IO namespace contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.

ClassDescription
System_CAPS_pubclassBinaryReader

Reads primitive data types as binary values in a specific encoding.

System_CAPS_pubclassBinaryWriter

Writes primitive types in binary to a stream and supports writing strings in a specific encoding.

System_CAPS_pubclassBufferedStream

Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.

System_CAPS_pubclassDirectory

Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassDirectoryInfo

Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassDirectoryNotFoundException

The exception that is thrown when part of a file or directory cannot be found.

System_CAPS_pubclassDriveInfo

Provides access to information on a drive.

System_CAPS_pubclassDriveNotFoundException

The exception that is thrown when trying to access a drive or share that is not available.

System_CAPS_pubclassEndOfStreamException

The exception that is thrown when reading is attempted past the end of a stream.

System_CAPS_pubclassErrorEventArgs

Provides data for the FileSystemWatcher.Error event.

System_CAPS_pubclassFile

Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of FileStream objects.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassFileFormatException

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.

System_CAPS_pubclassFileInfo

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.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassFileLoadException

The exception that is thrown when a managed assembly is found but cannot be loaded.

System_CAPS_pubclassFileNotFoundException

The exception that is thrown when an attempt to access a file that does not exist on disk fails.

System_CAPS_pubclassFileStream

Provides a Stream for a file, supporting both synchronous and asynchronous read and write operations.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassFileSystemEventArgs

Provides data for the directory events: Changed, Created, Deleted.

System_CAPS_pubclassFileSystemInfo

Provides the base class for both FileInfo and DirectoryInfo objects.

System_CAPS_pubclassFileSystemWatcher

Listens to the file system change notifications and raises events when a directory, or file in a directory, changes.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassInternalBufferOverflowException

The exception thrown when the internal buffer overflows.

System_CAPS_pubclassInvalidDataException

The exception that is thrown when a data stream is in an invalid format.

System_CAPS_pubclassIODescriptionAttribute

Sets the description visual designers can display when referencing an event, extender, or property.

System_CAPS_pubclassIOException

The exception that is thrown when an I/O error occurs.

System_CAPS_pubclassMemoryStream

Creates a stream whose backing store is memory.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassPath

Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassPathTooLongException

The exception that is thrown when a path or file name is longer than the system-defined maximum length.

System_CAPS_pubclassPipeException

Thrown when an error occurs within a named pipe.

System_CAPS_pubclassRenamedEventArgs

Provides data for the Renamed event.

System_CAPS_pubclassStream

Provides a generic view of a sequence of bytes. This is an abstract class.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassStreamReader

Implements a TextReader that reads characters from a byte stream in a particular encoding.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassStreamWriter

Implements a TextWriter for writing characters to a stream in a particular encoding.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassStringReader

Implements a TextReader that reads from a string.

System_CAPS_pubclassStringWriter

Implements a TextWriter for writing information to a string. The information is stored in an underlying StringBuilder.

System_CAPS_pubclassTextReader

Represents a reader that can read a sequential series of characters.

System_CAPS_pubclassTextWriter

Represents a writer that can write a sequential series of characters. This class is abstract.

System_CAPS_pubclassUnmanagedMemoryAccessor

Provides random access to unmanaged blocks of memory from managed code.

System_CAPS_pubclassUnmanagedMemoryStream

Provides access to unmanaged blocks of memory from managed code.

StructureDescription
System_CAPS_pubstructureWaitForChangedResult

Contains information on the change that occurred.

DelegateDescription
System_CAPS_pubdelegateErrorEventHandler

Represents the method that will handle the Error event of a FileSystemWatcher object.

System_CAPS_pubdelegateFileSystemEventHandler

Represents the method that will handle the Changed, Created, or Deleted event of a FileSystemWatcher class.

System_CAPS_pubdelegateRenamedEventHandler

Represents the method that will handle the Renamed event of a FileSystemWatcher class.

EnumerationDescription
System_CAPS_pubenumDriveType

Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.

System_CAPS_pubenumFileAccess

Defines constants for read, write, or read/write access to a file.

System_CAPS_pubenumFileAttributes

Provides attributes for files and directories.

System_CAPS_pubenumFileMode

Specifies how the operating system should open a file.

System_CAPS_pubenumFileOptions

Represents advanced options for creating a FileStream object.

System_CAPS_pubenumFileShare

Contains constants for controlling the kind of access other FileStream objects can have to the same file.

System_CAPS_pubenumHandleInheritability

Specifies whether the underlying handle is inheritable by child processes.

System_CAPS_pubenumNotifyFilters

Specifies changes to watch for in a file or folder.

System_CAPS_pubenumSearchOption

Specifies whether to search the current directory, or the current directory and all subdirectories.

System_CAPS_pubenumSeekOrigin

Specifies the position in a stream to use for seeking.

System_CAPS_pubenumWatcherChangeTypes

Changes that might occur to a file or directory.

Return to top
Show:
© 2016 Microsoft