Compartir a través de


IWMPMetadataPicture (VB and C#) interface

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Provides properties for getting information about the image contained in a digital media file that is represented by a WM/Picturemetadata attribute. This attribute corresponds to album art images contained in a digital media file, not to album art downloaded over the Internet.

The IWMPMetadataPicture interface exposes the following properties.

Property Description
Description Gets the description of the image represented by the metadata attribute.
mimeType Gets the MIME type of the image represented by the metadata attribute.
pictureType Gets the picture type of the image represented by the metadata attribute.
URL Internal use only.

Get an IWMPMetadataPicture interface by passing in the attribute name WM/Picture to the following method and casting the object that is returned.

Interface Property
IWMPMedia3 getItemInfoByType

Members

The IWMPMetadataPicture (VB and C#) interface does not define any members.

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#