The C1DirectoryInfo type exposes the following members.

Constructors

  NameDescription
Public methodC1DirectoryInfo
Creates and initialize a new C1DirectoryInfo.

Methods

  NameDescription
Public methodCreate
Creates the directory.
Public methodCreateSubdirectory
Creates a subdirectory.
Public methodDelete()()()()
Deletes the directory if empty.
(Overrides C1FileSystemInfo..::..Delete()()()().)
Public methodDelete(Boolean)
Deletes the directory, files and subdirectories if specified.
Public methodGetDirectories()()()()
Returns the subdirectories of the directory.
Public methodGetDirectories(String)
Returns the subdirectores of the directory given the search pattern.
Public methodGetDirectories(String, SearchOption)
Returns the subdirectores of the directory given the search pattern and options.
Public methodGetFiles()()()()
Returns the files in the directory.
Public methodGetFiles(String)
Returns the files in the directory given the search pattern.
Public methodGetFiles(String, SearchOption)
Returns the files in the directory given the search pattern and options.
Public methodGetObjectData
Public methodMoveTo
Moves the directory to the given path.
Public methodRefresh

Properties

  NameDescription
Public propertyAttributes
File attributes of the directory.
(Overrides C1FileSystemInfo..::..Attributes.)
Public propertyCreationTime
The creation time of the directory.
(Overrides C1FileSystemInfo..::..CreationTime.)
Public propertyCreationTimeUtc
The creation utc time of the directory.
(Overrides C1FileSystemInfo..::..CreationTimeUtc.)
Public propertyExists
Tells if the directory exists or not.
(Overrides C1FileSystemInfo..::..Exists.)
Public propertyExtension
The extension of the directory.
(Overrides C1FileSystemInfo..::..Extension.)
Public propertyFullName
Full path of the directory.
(Overrides C1FileSystemInfo..::..FullName.)
Public propertyLastAccessTime
Last access time of the directory.
(Overrides C1FileSystemInfo..::..LastAccessTime.)
Public propertyLastAccessTimeUtc
Last access utc time of the directory.
(Overrides C1FileSystemInfo..::..LastAccessTimeUtc.)
Public propertyLastWriteTime
Last write time of the directory.
(Overrides C1FileSystemInfo..::..LastWriteTime.)
Public propertyLastWriteTimeUtc
Last write utc time of the directory.
(Overrides C1FileSystemInfo..::..LastWriteTimeUtc.)
Public propertyName
The name of the directory.
Public propertyParent
The parent directory of the directory.
Public propertyRoot
The root directory of the directory.

See Also