IDirectoryInfo

Description

The IDirectoryInfo interface contains properties and methods for directory description.

Inheritance Hierarchy

          IFileSystemInfo

          IDirectoryInfo

Properties

  Property name Brief description
The Parent property returns information about a parent directory.
The Roop property returns information about a root directory.

Properties inherited from IFileSystemInfo

  Property name Brief description
The Attributes property determines file attributes.
The CreationTime property determines date and time of file creation.
The Exists property returns whether a file exists.
The Extension property returns a file extension including ".".
The FullName property returns a full path and a file name.
The LastAccessTime property determines date and time of the last file opening.
The LastWriteTime property determines date and time of the last file edit.
The Name property returns file name.

Methods

  Method name Brief description
The CopyTo method copies a directory with all its contents.
The Create method creates a directory.
The CreateSubdirectory method creates a subdirectory.
The GetDirectories method returns information about subdirectories in a directory.
The GetFiles method returns information about files in a directory.
The GetFileSystemInfos method returns information about subdirectories and files in a directory.
The MoveTo method moves a directory with all its contents.

Methods inherited from IFileSystemInfo

  Method name Brief description
The Delete method deletes a file.

See also:

IO Assembly Interfaces