System.IOUtils.TDirectory.SetCreationTime

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

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 は例外を発生させます。

関連項目