IDirectory

Description

The IDirectory interface contains static methods of the Directory class.

Inheritance Hierarchy

IDirectory

Methods

  Method name Brief description
Copy

The Copy method copies a directory.
CreateDirectory

The CreateDirectory method creates the specified directory.
Delete

The Delete method deletes the specified directory.
Exists

The Exists method checks if the specified directory exists.
GetAttributes

The GetAttributes method returns directory attributes.
GetCreationTime

The GetCreationTime method returns date and time of a directory creation.
GetCurrentDirectory

The GetCurrentDirectory method returns the path to the current working directory of application.
GetDirectories

The GetDirectories method returns the name of all subdirectories of the specified directory.
GetDirectoryRoot

The GetDirectoryRoot method returns the path of a root directory for the specified directory.
GetFiles

The GetFiles method returns the list of directory files.
GetFileSystemEntries

The GetFileSystemEntries method returns names of all subdirectories and files of the specified directory.
GetLastAccessTime

The GetLastAccessTime method returns date and time of the last access to a directory.
GetLastWriteTime

The GetLastWriteTime method returns date and time of the last edit of a directory contents.
GetLogicalDrives

The GetLogicalDrives method returns the list of logical drives on the current computer.
GetParent

The GetParent method returns information about a parent directory of the specified directory.
Move

The Move method moves a directory.
SetAttributes

The SetAttributes method sets specified attributes for a directory.
SetCreationTime

The SetCreationTime method changes date and time of a directory creation.
SetCurrentDirectory

The SetCurrentDirectory method changes a working directory for an application.
SetLastAccessTime

The SetLastAccessTime method changes date and time of the last access to a directory.
SetLastWriteTime

The SetLastWriteTime method determines date and time of the last edit of a directory contents.

See also:

IO Assembly Interfaces