Поделиться через


IMusicDisplayProperties interface

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

Provides properties for music information that is displayed by ISystemMediaTransportControlsDisplayUpdater.

Members

The IMusicDisplayProperties interface inherits from IInspectable. IMusicDisplayProperties also has these types of members:

Methods

The IMusicDisplayProperties interface has these methods.

Method Description
get_AlbumArtist Gets the album artist of the music item.
get_Artist Gets the artist of the music item.
get_Title Gets the title of the music item.
put_AlbumArtist Sets the album artist of the music item.
put_Artist Sets the artist of the music item.
put_Title Sets the title of the music item.

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016 [desktop apps only]
Header
Windows.Media.SystemMediaTransportControls.h
IDL
Windows.Media.SystemMediaTransportControls.idl

See also

IInspectable