System.IOUtils.TDirectory.SetCreationTime
Delphi
class procedure SetCreationTime(const Path: string; const CreationTime: TDateTime); static;
C++
static void __fastcall SetCreationTime(const System::UnicodeString Path, const System::TDateTime CreationTime);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TDirectory |
Description
Changes the creation time of a directory.
Use SetCreationTime to change the creation time of a directory. The following table lists the parameters expected by this method.
Name | Meaning |
---|---|
Path |
Path of the directory for which the creation time is changed. |
CreationTime |
The new creation time that will be applied to the directory. |
Note: SetCreationTime raises an exception if the given path is invalid or the directory does not exist.