AspNetManagementUtility.ReadFileDates(String, String, String, String) Method

Definition

Returns the creation, modified, and last access dates and times for the specified filename.

This API supports the product infrastructure and is not intended to be used directly from your code.

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)

Parameters

filename
String

The name of the file from which to read the dates.

creationDate
String

The date and time the file was created.

modifiedDate
String

The date and time the file was modified.

lastAccessDate
String

The date and time the file was last accessed.

Implements

Remarks

For more information about programming with the AspNetManagementUtility class and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to