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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public virtual BitmapMetadata Metadata { get; }
/** @property */
public BitmapMetadata get_Metadata ()

public function get Metadata () : BitmapMetadata

You cannot use this property in XAML.

Property Value

An instance of BitmapMetadata that represents global metadata associated with a bitmap. If no metadata is defined, this property returns a null reference (Nothing in Visual Basic).

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: