The C1Directory type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCreateDirectory
Creates a directory.
Public methodStatic memberDelete(String)
Deletes an empty directory on the given path.
Public methodStatic memberDelete(String, Boolean)
Deletes the directory and if specified subdirectories and file on the given path.
Public methodStatic memberExists
Determines if the directory in the given path exists or not.
Public methodStatic memberGetCreationTime
Returns the creation date and time of the given directory.
Public methodStatic memberGetCreationTimeUtc
Returns the creation date and utc time of the given directory.
Public methodStatic memberGetCurrentDirectory
Returns the current directory.
Public methodStatic memberGetDirectories(String)
Gets the subdirectories of the given directory.
Public methodStatic memberGetDirectories(String, String)
Gets the subdirectories of the given directory with the given search pattern.
Public methodStatic memberGetDirectories(String, String, SearchOption)
Gets the subdirectories of the given directory with the given search pattern and options.
Public methodStatic memberGetDirectoryRoot
Returns volume and/or root information of the given directory.
Public methodStatic memberGetFiles(String)
Gets the files in the given directory.
Public methodStatic memberGetFiles(String, String)
Gets the files in the given directory with the given search pattern.
Public methodStatic memberGetFiles(String, String, SearchOption)
Gets the files in the given directory with the given search pattern and options.
Public methodStatic memberGetParent
Gets the parent of the given directory.
Public methodStatic memberMove
Moves a file or directory from the given source path to the given destination path.
Public methodStatic memberSetCreationTime
Sets the creation date and time for the specified file or directory.
Public methodStatic memberSetCreationTimeUtc
Sets the creation date and time, in Coordinated Universal Time (UTC) format, for the specified file or directory.
Public methodStatic memberSetCurrentDirectory
Sets the current directory

See Also