Determines if a file has a more recent last write time than the given time, or no longer exists.
[Visual Basic] Overloads Public Shared Function FindMoreRecentLastWriteTime( _ ByVal fileName As String, _ ByVal targetLastWriteTime As Date _ ) As String
[C#] public static string FindMoreRecentLastWriteTime( stringfileName, DateTimetargetLastWriteTime );
Parameters
fileName
A file to check the last write time against.
targetLastWriteTime
The datetime to compare against.
Return Value
The name of the file that has a last write time greater than targetLastWriteTime or that no longer exists; otherwise, a null reference
(Nothing in Visual Basic).