NAnt SDK Documentation - v0.85-nightly-2005-11-09

DirectoryFunctions.GetCreationTime Method 

[This is preliminary documentation and subject to change.]

Returns the creation date and time of the specified directory.

[Visual Basic]
<Function(Name:="get-creation-time")>
Public Function GetCreationTime( _
   ByVal path As String _
) As Date
[C#]
[Function(Name="get-creation-time")]
public DateTime GetCreationTime(
   string path
);

Parameters

path
The directory for which to obtain creation date and time information.

Return Value

The creation date and time of the specified directory.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.DirectoryFunctions.GetCreationTime(System.String)

Exceptions

Exception Type Condition
IOException The specified directory does not exist.
ArgumentException path is a zero-length string, contains only white space, or contains one or more invalid characters.
PathTooLongException The specified path, file name, or both exceed the system-defined maximum length.

See Also

DirectoryFunctions Class | NAnt.Core.Functions Namespace