This documentation is archived and is not being maintained.

BitmapDecoder.Metadata Property

Gets an instance of BitmapMetadata that represents the global metadata associated with this bitmap, if metadata is defined.

Namespace:  System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public virtual BitmapMetadata Metadata { get; }

Property Value

Type: System.Windows.Media.Imaging.BitmapMetadata
An instance of BitmapMetadata that represents global metadata associated with a bitmap. If no metadata is defined, this property returns null.

None of the built-in derived BitmapDecoder classes support global metadata. Metadata should be added to the individual frames of an image.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.