System.IO.Directory.GetLastWriteTimeUtc C# (CSharp) Method

GetLastWriteTimeUtc() public static method

public static GetLastWriteTimeUtc ( string path ) : System.DateTime
path string
return System.DateTime
        public static System.DateTime GetLastWriteTimeUtc(string path) { throw null; }
        public static string[] GetLogicalDrives() { throw null; }

Usage Example

示例#1
0
 private void OnIndexModifierFinishedIndexOperation(object sender, FinishedIndexOperationEventArgs e)
 {
     if (e.Operation.Action == IndexOperation.OptimizeIndex)
     {
         this._indexModifier.FinishedIndexOperation -= OnIndexModifierFinishedIndexOperation;
         this._settings.LastIndexOptimization        = Directory.GetLastWriteTimeUtc(this._settings.IndexPath);
     }
 }
All Usage Examples Of System.IO.Directory::GetLastWriteTimeUtc