The C1Directory type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CreateDirectory |
Creates a directory.
| |
| Delete(String) |
Deletes an empty directory on the given path.
| |
| Delete(String, Boolean) |
Deletes the directory and if specified subdirectories and file on the given path.
| |
| Exists |
Determines if the directory in the given path exists or not.
| |
| GetCreationTime |
Returns the creation date and time of the given directory.
| |
| GetCreationTimeUtc |
Returns the creation date and utc time of the given directory.
| |
| GetCurrentDirectory |
Returns the current directory.
| |
| GetDirectories(String) |
Gets the subdirectories of the given directory.
| |
| GetDirectories(String, String) |
Gets the subdirectories of the given directory with the given search pattern.
| |
| GetDirectories(String, String, SearchOption) |
Gets the subdirectories of the given directory with the given search pattern and options.
| |
| GetDirectoryRoot |
Returns volume and/or root information of the given directory.
| |
| GetFiles(String) |
Gets the files in the given directory.
| |
| GetFiles(String, String) |
Gets the files in the given directory with the given search pattern.
| |
| GetFiles(String, String, SearchOption) |
Gets the files in the given directory with the given search pattern and options.
| |
| GetParent |
Gets the parent of the given directory.
| |
| Move |
Moves a file or directory from the given source path to the given destination path.
| |
| SetCreationTime |
Sets the creation date and time for the specified file or directory.
| |
| SetCreationTimeUtc |
Sets the creation date and time, in Coordinated Universal Time (UTC) format, for the specified file or directory.
| |
| SetCurrentDirectory |
Sets the current directory
|