IAspNetManagementUtility.ReadFileDates(String, String, String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回指定檔案名稱的建立、修改和上次存取日期與時間。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
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
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
上次存取檔案的日期與時間。
備註
如需使用 IAspNetManagementUtility 介面和 Microsoft Management Console (MMC) 進行程式設計的詳細資訊,請參閱 MMC 程式設計人員指南。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應