IO > IO Assembly Interfaces > IDirectoryInfo
The IDirectoryInfo interface contains properties and methods for directory description.
IDirectoryInfo
Property name | Brief description | |
![]() |
Parent | The Parent property returns information about a parent directory. |
![]() |
Root | The Roop property returns information about a root directory. |
Property name | Brief description | |
![]() |
Attributes | The Attributes property determines file attributes. |
![]() |
CreationTime | The CreationTime property determines date and time of file creation. |
![]() |
Exists | The Exists property returns whether a file exists. |
![]() |
Extension | The Extension property returns a file extension including ".". |
![]() |
FullName | The FullName property returns a full path and a file name. |
![]() |
LastAccessTime | The LastAccessTime property determines date and time of the last file opening. |
![]() |
LastWriteTime | The LastWriteTime property determines date and time of the last file edit. |
![]() |
Name | The Name property returns file name. |
Method name | Brief description | |
![]() |
CopyTo | The CopyTo method copies a directory with all its contents. |
![]() |
Create | The Create method creates a directory. |
![]() |
CreateSubdirectory | The CreateSubdirectory method creates a subdirectory. |
![]() |
GetDirectories | The GetDirectories method returns information about subdirectories in a directory. |
![]() |
GetFiles | The GetFiles method returns information about files in a directory. |
![]() |
GetFileSystemInfos | The GetFileSystemInfos method returns information about subdirectories and files in a directory. |
![]() |
MoveTo | The MoveTo method moves a directory with all its contents. |
Method name | Brief description | |
![]() |
Delete | The Delete method deletes a file. |
See also: