BitmapEncoder.Metadata Property
.NET Framework 3.5
Gets or sets the metadata that will be associated with this bitmap during encoding.
Assembly: PresentationCore (in PresentationCore.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The encoder does not support global metadata. |
| ArgumentNullException | The metadata value that is passed to the encoder is null. |
| ArgumentNullException | An attempt is made to write metadata in an incompatible format. |
Bitmap images support and store metadata differently. For more information about the metadata types that are supported for each bitmap, see the BitmapMetadata class.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.