Export (0) Print
Expand All

BitmapMetadata.DateTaken Property

Gets or sets a value that indicates the date that the image was taken.

Namespace:  System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

member DateTaken : string with get, set
<object DateTaken="string" .../>

Property Value

Type: System.String
The date that the image was taken.

The following code example shows how to write metadata to a bitmap image by using friendly properties of the BitmapMetadata class.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft