Windows Media Player 11 SDK Playlist.appendItemĀ 

Windows Media Player SDK banner art

Previous Next

Playlist.appendItem

The appendItem method adds a media item to the end of the playlist.

Syntax

  

Parameters

item

Media object to be added.

Return Values

This method does not return a value.

Remarks

To use this method, full access to the library is required. For more information, see Library Access.

Example Code

The following JScript example uses Playlist.appendItem to add the current media item to the playlist named "ThreeList". The Player object was created with ID="Player".

  

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next