NAnt SDK Documentation - v0.92 |

# DirectoryFunctions Methods

The methods of the DirectoryFunctions class are listed below. For a complete list of DirectoryFunctions class members, see the DirectoryFunctions Members topic.

#### Public Static (Shared) Methods

GetCurrentDirectory | Gets the current working directory.

#### Public Instance Methods

Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
Exists | Determines whether the given path refers to an existing directory on disk.
GetCreationTime | Returns the creation date and time of the specified directory.
GetDirectoryRoot | Returns the volume information, root information, or both for the specified path.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type.
GetLastAccessTime | Returns the date and time the specified directory was last accessed.
GetLastWriteTime | Returns the date and time the specified directory was last written to.
GetParentDirectory | Retrieves the parent directory of the specified path.
GetType (inherited from Object) | Gets the Type of the current instance.
ToString (inherited from Object) | Returns a String that represents the current Object.

#### Protected Instance Methods

Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object.

#### See Also

DirectoryFunctions Class | NAnt.Core.Functions Namespace