Summary
Returns the creation date and time of the specified directory.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- DirectoryFunctions
Syntax
[Function("get-creation-time")]
public DateTime GetCreationTime(string path)
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
Name | Type | Description |
---|---|---|
path | string | The directory for which to obtain creation date and time information. |
Return Value
Type | Description |
---|---|
DateTime | The creation date and time of the specified directory. |