Click or drag to resize

Directory Methods

The Directory type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreate Create the specified empty directory.
Public methodStatic memberCreateDirectory Create the specified empty directory.
Public methodStatic memberDelete(String) Delete the specified empty directory.
Public methodStatic memberDelete(String, Boolean) Delete the specified directory and any subdirectories, if indicated.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberExists Determines if the specified path exists on the system.
Public methodStatic memberGetApplicationDirectory Return the working directory of the application.
Public methodStatic memberGetApplicationRootDirectory Returns the application's 'root' directory. This is where NVRAM and HTML folders can be found. No trailing directory separator at the end.
Public methodStatic memberGetCreationTime Returns the data and time the specified directory was created.
Public methodStatic memberGetDirectories(String) Returns an array populated with the names of directories in the specified directory.
Public methodStatic memberGetDirectories(String, String) Returns an array populated with the names of directories in the specified directory matched against the search pattern.
Public methodStatic memberGetDirectoryRoot Returns the root information of the specified directory.
Public methodStatic memberGetFiles(String) Returns an array populated with the names of files in the specified directory.
Public methodStatic memberGetFiles(String, String) Returns an array populated with the names of files in the specified directory that match the search pattern.
Public methodStatic memberGetFileSystemEntries(String) Returns the names of all files and subdirectories in the specified directory.
Public methodStatic memberGetFileSystemEntries(String, String) Returns an array of file system entries matching the specified search criteria.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetLastAccessTime Returns the data and time the specified directory was last accessed.
Public methodStatic memberGetLastWriteTime Returns the data and time the specified directory was last written to.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberMove Moves the specified directory and contents to the destination location.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also