Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExternalStorageFile.DateModified Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the date and time when the current file was last modified.

Namespace:  Microsoft.Phone.Storage
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public DateTimeOffset DateModified { get; private set; }

Property Value

Type: System.DateTimeOffset
The date and time when the current file was last modified.

Your app must register for a file association in the app manifest file to declare what file types (extensions) can be read from the SD card. For more info, see Auto-launching apps using file and URI associations for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

Show: