SetLastAccessTimeUtc() публичный статический Метод

public static SetLastAccessTimeUtc ( string path, System lastAccessTimeUtc ) : void
path string
lastAccessTimeUtc System
Результат void
Пример #1
0
 public static void SetLastAccessTimeUtc(string path, DateTime lastAccessTimeUtc)
 {
     if (_provider == null)
     {
         Directory.SetLastAccessTimeUtc(path, lastAccessTimeUtc);
     }
     else
     {
         _provider.SetLastAccessTimeUtc(path, lastAccessTimeUtc);
     }
 }
Пример #2
0
 public static void SetLastAccessTimeUtc(string path, System.DateTime lastAccessTimeUtc) =>
 MSIOD.SetLastAccessTimeUtc(path, lastAccessTimeUtc);
Пример #3
0
 public void SetLastAccessTime(DateTimeOffset lastAccessTime)
 => D.SetLastAccessTimeUtc(this.FullName, lastAccessTime.UtcDateTime);
Пример #4
0
 public override void SetLastAccessTimeUtc(string path, DateTime lastAccessTimeUtc)
 {
     Directory.SetLastAccessTimeUtc(path, lastAccessTimeUtc);
 }