System.IOUtils.TDirectory.SetCreationTimeUtc

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class procedure SetCreationTimeUtc(const Path: string;  const CreationTime: TDateTime); static;

C++

static void __fastcall SetCreationTimeUtc(const System::UnicodeString Path, const System::TDateTime CreationTime);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils TDirectory

説明

ディレクトリの作成時刻を変更します。

ディレクトリの作成時刻を変更するには、SetCreationTimeUtc を使用します。新しい日時 はUTC(Coordinated Universal Time:協定世界時)であると見なされます。次の表に、このメソッドのパラメータ リストを示します。



名前 意味

Path

作成時刻を変更しようとするディレクトリのパス。

CreationTime

ディレクトリに適用しようとする新しい作成時刻。



メモ:  指定のパスが無効であるか、またはそのディレクトリが存在しない場合、SetCreationTimeUtc は例外を発生させます。

関連項目