Mono Class Library: Overview

System.IO.Directory: Members

The members of System.IO.Directory are listed below.

See Also: Inherited members from System.Object

Public Methods

static
CreateDirectory(string) : DirectoryInfo
Creates the specified path and any additional parents if non-existant.
static
CreateDirectory(string, System.Security.AccessControl.DirectorySecurity) : DirectoryInfo
Documentation for this section has not yet been entered.
static
Delete(string)
Deletes the empty directory specified in path.
static
Delete(string, bool)
Deletes the specified directory and, if indicated, any subdirectories in the directory.
static
Exists(string) : bool
Returns a bool indicating whether the specified directory exists.
static
GetAccessControl(string) : System.Security.AccessControl.DirectorySecurity
Documentation for this section has not yet been entered.
static
GetAccessControl(string, System.Security.AccessControl.AccessControlSections) : System.Security.AccessControl.DirectorySecurity
Documentation for this section has not yet been entered.
static
GetCreationTime(string) : DateTime
Returns the creation date and time of the specified file or directory.
static
GetCreationTimeUtc(string) : DateTime
Documentation for this section has not yet been entered.
static
GetCurrentDirectory() : string
Returns the application's current working directory.
static
GetDirectories(string) : string[]
Returns the names of subdirectories in the specified directory.
static
GetDirectories(string, string) : string[]
Returns the names of subdirectories in the specified directory that match the specified search pattern.
static
GetDirectories(string, string, SearchOption) : string[]
Documentation for this section has not yet been entered.
static
GetDirectoryRoot(string) : string
Returns the path root component of the specified path.
static
GetFiles(string) : string[]
Returns the names of all files in the specified directory.
static
GetFiles(string, string) : string[]
Returns the names of files in the specified directory that match the specified search pattern.
static
GetFiles(string, string, SearchOption) : string[]
Documentation for this section has not yet been entered.
static
GetFileSystemEntries(string) : string[]
Returns the names of all files and subdirectories in the specified directory.
static
GetFileSystemEntries(string, string) : string[]
Returns an array of file and directory names matching the specified search criteria.
static
GetLastAccessTime(string) : DateTime
Returns the date and time the specified file or directory was last accessed.
static
GetLastAccessTimeUtc(string) : DateTime
Documentation for this section has not yet been entered.
static
GetLastWriteTime(string) : DateTime
Returns the date and time the specified file or directory was last written to.
static
GetLastWriteTimeUtc(string) : DateTime
Documentation for this section has not yet been entered.
static
GetLogicalDrives() : string[]
Documentation for this section has not yet been entered.
static
GetParent(string) : DirectoryInfo
Documentation for this section has not yet been entered.
static
Move(string, string)
Moves a file or a directory and its contents to a new location.
static
SetAccessControl(string, System.Security.AccessControl.DirectorySecurity)
Documentation for this section has not yet been entered.
static
SetCreationTime(string, DateTime)
Sets the creation date and time for the specified file or directory.
static
SetCreationTimeUtc(string, DateTime)
Documentation for this section has not yet been entered.
static
SetCurrentDirectory(string)
Sets the application's current working directory to the specified directory.
static
SetLastAccessTime(string, DateTime)
Sets the date and time the specified file or directory was last accessed.
static
SetLastAccessTimeUtc(string, DateTime)
Documentation for this section has not yet been entered.
static
SetLastWriteTime(string, DateTime)
Sets the date and time a directory was last written to.
static
SetLastWriteTimeUtc(string, DateTime)
Documentation for this section has not yet been entered.