Skip to content

Latest commit

 

History

History
68 lines (39 loc) · 1.57 KB

playlist-addselectedtoplaylist.md

File metadata and controls

68 lines (39 loc) · 1.57 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location ms.custom
PLAYLIST.addSelectedToPlaylist
The addSelectedToPlaylist method adds the selected item to a playlist.
02ce8553-4ffc-44c1-b260-f41d0877137f
PLAYLIST.addSelectedToPlaylist Windows Media Player
apiref
PLAYLIST.addSelectedToPlaylist
NA
reference
4/26/2023
UpdateFrequency5

PLAYLIST.addSelectedToPlaylist

[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 addSelectedToPlaylist method adds the selected item to a playlist.

        elementID.addSelectedToPlaylist(playlist)

Parameters

playlist

Playlist object that will receive the selected item.

Return Value

This method does not return a value.

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later

See also

PLAYLIST Element