Version:
SetLastWriteTime(string path, System.DateTime date) Method
Sets the last write time of the file.
Syntax
public
static
void SetLastWriteTime(string path, System.DateTime date)
Parameters
- path
- Type: string
The path of the file.
- date
- Type: System.DateTime
The last write time of the file in UTC.
Exceptions
System.ArgumentNullException
|
path is null (Nothing in Visual Basic) or empty.
|