IDirectory.

SetCreationTime(DateTime) Method

Summary

Sets the date and time that the file was created.
Namespace
Cake.Core.IO
Containing Type
IDirectory

Syntax

IDirectory SetCreationTime(DateTime creationTime)

Parameters

Name Type Description
creationTime DateTime A DateTime containing the value to set for the creation date and time of path. This value is expressed in local time.

Return Value

Type Description
IDirectory A IFile instance representing the specified path.