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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TDirectory |
説明
ディレクトリの作成時刻を変更します。
ディレクトリの作成時刻を変更するには、SetCreationTime を使用します。次の表に、このメソッドのパラメータ リストを示します。
名前 | 意味 |
---|---|
Path |
作成時刻を変更しようとするディレクトリのパス。 |
CreationTime |
ディレクトリに適用しようとする新しい作成時刻。 |
メモ: 指定のパスが無効であるか、またはそのディレクトリが存在しない場合、SetCreationTime は例外を発生させます。