語言

AspNetManagementUtility.ReadFileDates(String, String, String, String) 方法

定義

回傳指定檔名的建立、修改及最後存取日期與時間。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual void ReadFileDates(System::String ^ filename, [Runtime::InteropServices::Out] System::String ^ % creationDate, [Runtime::InteropServices::Out] System::String ^ % modifiedDate, [Runtime::InteropServices::Out] System::String ^ % lastAccessDate);
public void ReadFileDates(string filename, out string creationDate, out string modifiedDate, out string lastAccessDate);
abstract member ReadFileDates : string * string * string * string -> unit
override this.ReadFileDates : string * string * string * string -> unit
Public Sub ReadFileDates (filename As String, ByRef creationDate As String, ByRef modifiedDate As String, ByRef lastAccessDate As String)

參數

filename
String

要讀取日期的檔案名稱。

creationDate
String

檔案建立的日期和時間。

modifiedDate
String

檔案被修改的日期和時間。

lastAccessDate
String

檔案最後被存取的日期和時間。

實作

備註

欲了解更多關於使用 AspNetManagementUtility 類別與 Microsoft Management Console(MMC)程式設計的資訊,請參閱 MMC 程式設計師指南。

適用於