Compartir a través de


Temporary Attribute

[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.]

The Temporary attribute specifies whether a playlist is temporary.

Remarks

If you retrieved a playlist from the library, changes you make to the playlist will be reflected in the user's library. To avoid this, call IWMPPlaylist::setItemInfo passing the attribute name "Temporary" and the value "true". This converts your playlist instance to a temporary playlist, which is safe to edit without changing the original playlist.

Applies To

Requirements

Requirement Value
Version
Windows Media Player 11

See also

Attribute Reference