ReferenceBase.

GetFileTimestamp(string) Method

Summary

Returns the date and time the specified file was last written to.
Assembly
NAnt.VSNet.dll
Namespace
NAnt.VSNet
Containing Type
ReferenceBase

Syntax

protected DateTime GetFileTimestamp(string fileName)

Parameters

Name Type Description
fileName string The file for which to obtain write date and time information.

Return Value

Type Description
DateTime A System.DateTime structure set to the date and time that the specified file was last written to, or System.DateTime.MaxValue if the specified file does not exist.