Exposes routines for creating, moving, and enumerating through directories and subdirectories.
Object
FileSystemEntry
Directory
[Visual Basic] NotInheritable Public Class Directory Inherits FileSystemEntry [C#] public sealed class Directory : FileSystemEntry [C++] public __gc __sealed class Directory : public FileSystemEntry [JScript] public class Directory extends FileSystemEntry
Instances of the Directory class can enumerate through themselves, returning file or directory objects as appropriate. Directories can be defined as read-only or hidden.
Namespace: System.IO
Assembly: mscorlib.dll