Skip to main content
Tab

DataSourceFileSystemProvider.GetLastWriteTime(FileManagerFile) Method

Implements getting the time of the last file modification.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public override DateTime GetLastWriteTime(
    FileManagerFile file
)

Parameters

Name Type Description
file FileManagerFile

A FileManagerFile object that is the processed file.

Returns

Type Description
DateTime

A DateTime value that is the last write time.

Remarks

The GetLastWriteTime method implements getting the time of the last file modification when the default DataSourceFileSystemProvider is used.

If you create a custom file system provider inherited from the DataSourceFileSystemProvider class, you can override the GetLastWriteTime method to perform any custom actions.

See Also