mscorlib(4.0.0.0) API with additions
|
Classes | |
class | BinaryReader |
Reads primitive data types as binary values in a specific encoding. More... | |
class | BinaryWriter |
Writes primitive types in binary to a stream and supports writing strings in a specific encoding. More... | |
class | BufferedStream |
Adds a buffering layer to read and write operations on another stream. This class cannot be inherited. More... | |
class | Directory |
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. More... | |
class | DirectoryInfo |
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. More... | |
class | DirectoryNotFoundException |
The exception that is thrown when part of a file or directory cannot be found. More... | |
class | DriveInfo |
Provides access to information on a drive. More... | |
class | DriveNotFoundException |
The exception that is thrown when trying to access a drive or share that is not available. More... | |
class | EndOfStreamException |
The exception that is thrown when reading is attempted past the end of a stream. More... | |
class | ErrorEventArgs |
Provides data for the E:System.IO.FileSystemWatcher.Error event. More... | |
class | File |
Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of T:System.IO.FileStream objects.To browse the .NET Framework source code for this type, see the Reference Source. More... | |
class | FileInfo |
Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of T:System.IO.FileStream objects. This class cannot be inherited.To browse the .NET Framework source code for this type, see the Reference Source. More... | |
class | FileLoadException |
The exception that is thrown when a managed assembly is found but cannot be loaded. More... | |
class | FileNotFoundException |
The exception that is thrown when an attempt to access a file that does not exist on disk fails. More... | |
class | FileStream |
Provides a T:System.IO.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. More... | |
class | FileSystemEventArgs |
Provides data for the directory events: E:System.IO.FileSystemWatcher.Changed, E:System.IO.FileSystemWatcher.Created, E:System.IO.FileSystemWatcher.Deleted. More... | |
class | FileSystemInfo |
Provides the base class for both T:System.IO.FileInfo and T:System.IO.DirectoryInfo objects. More... | |
class | FileSystemWatcher |
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. More... | |
class | InternalBufferOverflowException |
The exception thrown when the internal buffer overflows. More... | |
class | InvalidDataException |
The exception that is thrown when a data stream is in an invalid format. More... | |
class | IODescriptionAttribute |
Sets the description visual designers can display when referencing an event, extender, or property. More... | |
class | IOException |
The exception that is thrown when an I/O error occurs. More... | |
class | MemoryStream |
Creates a stream whose backing store is memory.To browse the .NET Framework source code for this type, see the Reference Source. More... | |
class | Path |
Performs operations on T:System.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. More... | |
class | PathTooLongException |
The exception that is thrown when a path or fully qualified file name is longer than the system-defined maximum length. More... | |
class | RenamedEventArgs |
Provides data for the E:System.IO.FileSystemWatcher.Renamed event. More... | |
class | Stream |
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. More... | |
class | StreamReader |
Implements a T:System.IO.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. More... | |
class | StreamWriter |
Implements a T:System.IO.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. More... | |
class | StringReader |
Implements a T:System.IO.TextReader that reads from a string. More... | |
class | StringWriter |
Implements a T:System.IO.TextWriter for writing information to a string. The information is stored in an underlying T:System.Text.StringBuilder. More... | |
class | TextReader |
Represents a reader that can read a sequential series of characters. More... | |
class | TextWriter |
Represents a writer that can write a sequential series of characters. This class is abstract. More... | |
class | UnmanagedMemoryAccessor |
Provides random access to unmanaged blocks of memory from managed code. More... | |
class | UnmanagedMemoryStream |
Provides access to unmanaged blocks of memory from managed code. More... | |
struct | WaitForChangedResult |
Contains information on the change that occurred. More... | |
Enumerations | |
enum | DriveType { DriveType.Unknown, DriveType.NoRootDirectory, DriveType.Removable, DriveType.Fixed, DriveType.Network, DriveType.CDRom, DriveType.Ram } |
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown. More... | |
enum | FileAccess { FileAccess.Read = 0x1, FileAccess.Write = 0x2, FileAccess.ReadWrite = 0x3 } |
Defines constants for read, write, or read/write access to a file. More... | |
enum | FileAttributes { FileAttributes.ReadOnly = 0x1, FileAttributes.Hidden = 0x2, FileAttributes.System = 0x4, FileAttributes.Directory = 0x10, FileAttributes.Archive = 0x20, FileAttributes.Device = 0x40, FileAttributes.Normal = 0x80, FileAttributes.Temporary = 0x100, FileAttributes.SparseFile = 0x200, FileAttributes.ReparsePoint = 0x400, FileAttributes.Compressed = 0x800, FileAttributes.Offline = 0x1000, FileAttributes.NotContentIndexed = 0x2000, FileAttributes.Encrypted = 0x4000, FileAttributes.IntegrityStream = 0x8000, FileAttributes.NoScrubData = 0x20000 } |
Provides attributes for files and directories. More... | |
enum | FileMode { FileMode.CreateNew = 1, FileMode.Create, FileMode.Open, FileMode.OpenOrCreate, FileMode.Truncate, FileMode.Append } |
Specifies how the operating system should open a file. More... | |
enum | FileOptions { FileOptions.None = 0x0, FileOptions.WriteThrough = int.MinValue, FileOptions.Asynchronous = 0x40000000, FileOptions.RandomAccess = 0x10000000, FileOptions.DeleteOnClose = 0x4000000, FileOptions.SequentialScan = 0x8000000, FileOptions.Encrypted = 0x4000 } |
Represents advanced options for creating a T:System.IO.FileStream object. More... | |
enum | FileSecurityStateAccess { NoAccess = 0x0, Read = 0x1, Write = 0x2, Append = 0x4, PathDiscovery = 0x8, AllAccess = 0xF } |
enum | FileShare { FileShare.None = 0x0, FileShare.Read = 0x1, FileShare.Write = 0x2, FileShare.ReadWrite = 0x3, FileShare.Delete = 0x4, FileShare.Inheritable = 0x10 } |
Contains constants for controlling the kind of access other T:System.IO.FileStream objects can have to the same file. More... | |
enum | HandleInheritability { HandleInheritability.None, HandleInheritability.Inheritable } |
Specifies whether the underlying handle is inheritable by child processes. More... | |
enum | LogRetentionOption { SingleFileUnboundedSize = 2, SingleFileBoundedSize = 4, UnlimitedSequentialFiles = 0, LimitedSequentialFiles = 3, LimitedCircularFiles = 1 } |
enum | NotifyFilters { NotifyFilters.FileName = 0x1, NotifyFilters.DirectoryName = 0x2, NotifyFilters.Attributes = 0x4, NotifyFilters.Size = 0x8, NotifyFilters.LastWrite = 0x10, NotifyFilters.LastAccess = 0x20, NotifyFilters.CreationTime = 0x40, NotifyFilters.Security = 0x100 } |
Specifies changes to watch for in a file or folder. More... | |
enum | SearchOption { SearchOption.TopDirectoryOnly, SearchOption.AllDirectories } |
Specifies whether to search the current directory, or the current directory and all subdirectories. More... | |
enum | SeekOrigin { SeekOrigin.Begin, SeekOrigin.Current, SeekOrigin.End } |
Specifies the position in a stream to use for seeking. More... | |
enum | WatcherChangeTypes { WatcherChangeTypes.Created = 0x1, WatcherChangeTypes.Deleted = 0x2, WatcherChangeTypes.Changed = 0x4, WatcherChangeTypes.Renamed = 0x8, WatcherChangeTypes.All = 0xF } |
Changes that might occur to a file or directory. More... | |
Functions | |
delegate void | ErrorEventHandler (object sender, ErrorEventArgs e) |
Represents the method that will handle the E:System.IO.FileSystemWatcher.Error event of a T:System.IO.FileSystemWatcher object. More... | |
delegate void | FileSystemEventHandler (object sender, FileSystemEventArgs e) |
Represents the method that will handle the E:System.IO.FileSystemWatcher.Changed, E:System.IO.FileSystemWatcher.Created, or E:System.IO.FileSystemWatcher.Deleted event of a T:System.IO.FileSystemWatcher class. More... | |
delegate void | RenamedEventHandler (object sender, RenamedEventArgs e) |
Represents the method that will handle the E:System.IO.FileSystemWatcher.Renamed event of a T:System.IO.FileSystemWatcher class. More... | |
|
strong |
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.
Definition at line 8 of file DriveType.cs.
|
strong |
Defines constants for read, write, or read/write access to a file.
Definition at line 9 of file FileAccess.cs.
|
strong |
Provides attributes for files and directories.
Enumerator | |
---|---|
ReadOnly | The file is read-only. |
Hidden | The file is hidden, and thus is not included in an ordinary directory listing. |
System | The file is a system file. That is, the file is part of the operating system or is used exclusively by the operating system. |
Directory | The file is a directory. |
Archive | The file is a candidate for backup or removal. |
Device | Reserved for future use. |
Normal | The file is a standard file that has no special attributes. This attribute is valid only if it is used alone. |
Temporary | The file is temporary. A temporary file contains data that is needed while an application is executing but is not needed after the application is finished. File systems try to keep all the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed. |
SparseFile | The file is a sparse file. Sparse files are typically large files whose data consists of mostly zeros. |
ReparsePoint | The file contains a reparse point, which is a block of user-defined data associated with a file or a directory. |
Compressed | The file is compressed. |
Offline | The file is offline. The data of the file is not immediately available. |
NotContentIndexed | The file will not be indexed by the operating system's content indexing service. |
Encrypted | The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories. |
IntegrityStream | The file or directory includes data integrity support. When this value is applied to a file, all data streams in the file have integrity support. When this value is applied to a directory, all new files and subdirectories within that directory, by default, include integrity support. |
NoScrubData | The file or directory is excluded from the data integrity scan. When this value is applied to a directory, by default, all new files and subdirectories within that directory are excluded from data integrity. |
Definition at line 9 of file FileAttributes.cs.
|
strong |
Specifies how the operating system should open a file.
Enumerator | |
---|---|
CreateNew | Specifies that the operating system should create a new file. This requires F:System.Security.Permissions.FileIOPermissionAccess.Write permission. If the file already exists, an T:System.IO.IOException exception is thrown. |
Create | Specifies that the operating system should create a new file. If the file already exists, it will be overwritten. This requires F:System.Security.Permissions.FileIOPermissionAccess.Write permission. |
Open | Specifies that the operating system should open an existing file. The ability to open the file is dependent on the value specified by the T:System.IO.FileAccess enumeration. A T:System.IO.FileNotFoundException exception is thrown if the file does not exist. |
OpenOrCreate | Specifies that the operating system should open a file if it exists; otherwise, a new file should be created. If the file is opened with |
Truncate | Specifies that the operating system should open an existing file. When the file is opened, it should be truncated so that its size is zero bytes. This requires F:System.Security.Permissions.FileIOPermissionAccess.Write permission. Attempts to read from a file opened with |
Append | Opens the file if it exists and seeks to the end of the file, or creates a new file. This requires F:System.Security.Permissions.FileIOPermissionAccess.Append permission. |
Definition at line 8 of file FileMode.cs.
|
strong |
Represents advanced options for creating a T:System.IO.FileStream object.
Definition at line 9 of file FileOptions.cs.
|
strong |
Contains constants for controlling the kind of access other T:System.IO.FileStream objects can have to the same file.
Definition at line 9 of file FileShare.cs.
|
strong |
Specifies whether the underlying handle is inheritable by child processes.
Enumerator | |
---|---|
None | Specifies that the handle is not inheritable by child processes. |
Inheritable | Specifies that the handle is inheritable by child processes. |
Definition at line 6 of file HandleInheritability.cs.
|
strong |
Specifies changes to watch for in a file or folder.
Definition at line 5 of file NotifyFilters.cs.
|
strong |
Specifies whether to search the current directory, or the current directory and all subdirectories.
Definition at line 8 of file SearchOption.cs.
|
strong |
Specifies the position in a stream to use for seeking.
Enumerator | |
---|---|
Begin | Specifies the beginning of a stream. |
Current | Specifies the current position within a stream. |
End | Specifies the end of a stream. |
Definition at line 9 of file SeekOrigin.cs.
|
strong |
Changes that might occur to a file or directory.
Definition at line 5 of file WatcherChangeTypes.cs.
delegate void System.IO.ErrorEventHandler | ( | object | sender, |
ErrorEventArgs | e | ||
) |
Represents the method that will handle the E:System.IO.FileSystemWatcher.Error event of a T:System.IO.FileSystemWatcher object.
sender | The source of the event. |
e | An T:System.IO.ErrorEventArgs object that contains the event data. |
delegate void System.IO.FileSystemEventHandler | ( | object | sender, |
FileSystemEventArgs | e | ||
) |
Represents the method that will handle the E:System.IO.FileSystemWatcher.Changed, E:System.IO.FileSystemWatcher.Created, or E:System.IO.FileSystemWatcher.Deleted event of a T:System.IO.FileSystemWatcher class.
sender | The source of the event. |
e | The T:System.IO.FileSystemEventArgs that contains the event data. |
delegate void System.IO.RenamedEventHandler | ( | object | sender, |
RenamedEventArgs | e | ||
) |
Represents the method that will handle the E:System.IO.FileSystemWatcher.Renamed event of a T:System.IO.FileSystemWatcher class.
sender | The source of the event. |
e | The T:System.IO.RenamedEventArgs that contains the event data. |