Click to Rate and Give Feedback
TechNet
TechNet Library

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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
Public classBinaryReader Reads primitive data types as binary values in a specific encoding.
Public classBinaryWriter Writes primitive types in binary to a stream and supports writing strings in a specific encoding.
Public classBufferedStream Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.
Public classDirectory Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
Public classDirectoryInfoExposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
Public classDirectoryNotFoundException The exception that is thrown when part of a file or directory cannot be found.
Public classDriveInfo Provides access to information on a drive.
Public classDriveNotFoundException The exception that is thrown when trying to access a drive or share that is not available.
Public classEndOfStreamException The exception that is thrown when reading is attempted past the end of a stream.
Public classErrorEventArgs Provides data for the Error event.
Public classFile Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects.
Public classFileFormatException 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.
Public classFileInfo Provides 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.
Public classFileLoadException The exception that is thrown when a managed assembly is found but cannot be loaded.
Public classFileNotFoundException The exception that is thrown when an attempt to access a file that does not exist on disk fails.
Public classFileStreamExposes a Stream around a file, supporting both synchronous and asynchronous read and write operations.
Public classFileSystemEventArgs Provides data for the directory events: Changed, Created, Deleted.
Public classFileSystemInfo Provides the base class for both FileInfo and DirectoryInfo objects.
Public classFileSystemWatcher Listens to the file system change notifications and raises events when a directory, or file in a directory, changes.
Public classInternalBufferOverflowException The exception thrown when the internal buffer overflows.
Public classInvalidDataException The exception that is thrown when a data stream is in an invalid format.
Public classIODescriptionAttribute Sets the description visual designers can display when referencing an event, extender, or property.
Public classIOException The exception that is thrown when an I/O error occurs.
Public classMemoryStream Creates a stream whose backing store is memory.
Public classPath Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner.
Public classPathTooLongException The exception that is thrown when a pathname or filename is longer than the system-defined maximum length.
Public classPipeExceptionThrown when an error occurs within a named pipe.
Public classRenamedEventArgs Provides data for the Renamed event.
Public classStream Provides a generic view of a sequence of bytes.
Public classStreamReaderImplements a TextReader that reads characters from a byte stream in a particular encoding.
Public classStreamWriterImplements a TextWriter for writing characters to a stream in a particular encoding.
Public classStringReader Implements a TextReader that reads from a string.
Public classStringWriter Implements a TextWriter for writing information to a string. The information is stored in an underlying StringBuilder.
Public classTextReaderRepresents a reader that can read a sequential series of characters.
Public classTextWriter Represents a writer that can write a sequential series of characters. This class is abstract.
Public classUnmanagedMemoryStream Provides access to unmanaged blocks of memory from managed code.
  StructureDescription
Public structureWaitForChangedResult Contains information on the change that occurred.
  DelegateDescription
Public delegateErrorEventHandler Represents the method that will handle the Error event of a FileSystemWatcher object.
Public delegateFileSystemEventHandler Represents the method that will handle the Changed, Created, or Deleted event of a FileSystemWatcher class.
Public delegateRenamedEventHandler Represents the method that will handle the Renamed event of a FileSystemWatcher class.
  EnumerationDescription
Public enumerationDriveType Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.
Public enumerationFileAccess Defines constants for read, write, or read/write access to a file.
Public enumerationFileAttributes Provides attributes for files and directories.
Public enumerationFileMode Specifies how the operating system should open a file.
Public enumerationFileOptions Represents additional options for creating a FileStream object.
Public enumerationFileShare Contains constants for controlling the kind of access other FileStream objects can have to the same file.
Public enumerationHandleInheritability Specifies whether the underlying handle is inheritable by child processes.
Public enumerationNotifyFilters Specifies changes to watch for in a file or folder.
Public enumerationSearchOption Specifies whether to search the current directory, or the current directory and all subdirectories.
Public enumerationSeekOrigin Provides the fields that represent reference points in streams for seeking.
Public enumerationWatcherChangeTypes Changes that might occur to a file or directory.
Tags What's this?: io (x) stream (x) Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker