Share via


Directory Members

The following tables list the members exposed by the Directory type.

Public Methods

Name Description
Public Method Static CreateDirectory Creates all directories and subdirectories as specified by path.
Public Method Static Delete Deletes the specified directory and, if indicated, any subdirectories in the directory.
Public Method Static Exists Determines whether the given path refers to an existing directory on disk.
Public Method Static GetCurrentDirectory Gets the current working directory of the application.
Public Method Static GetDirectories Gets an array of directories matching the specified search pattern from the current directory.
Public Method Static GetFiles Returns the names of files in a specified directory.
Public Method Static Move Moves a file or a directory and its contents to a new location.
Public Method Static SetCurrentDirectory Sets the application's current working directory to the specified directory.

See Also

Reference

Directory Class
System.IO Namespace