ImageProperties.DateTaken Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the date when the image was taken.
public:
property DateTime DateTaken { DateTime get(); void set(DateTime value); };
DateTime DateTaken();
void DateTaken(DateTime value);
public System.DateTimeOffset DateTaken { get; set; }
var dateTime = imageProperties.dateTaken;
imageProperties.dateTaken = dateTime;
Public Property DateTaken As DateTimeOffset
Property Value
The date when the image was taken.
Remarks
If the date property isn't set, this value defaults to January 1, 1601 00:00:00. You should always check that this property is a real value and not the default date.