FileSetLastWriteTime Method |
Sets the date and time that the specified file was last written to.
Namespace: CMS.AzureStorageAssembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 13.0.131
Syntax public override void SetLastWriteTime(
string path,
DateTime lastWriteTime
)
Parameters
- path
- Type: SystemString
Path to file. - lastWriteTime
- Type: SystemDateTime
Last write time.
Exceptions Exception | Condition |
---|
ArgumentNullException | path is null |
ArgumentException | path is empty or contains invalid characters |
PathTooLongException | path is too long |
FileNotFoundException | path does not exist |
See Also