Windows Media Player 11 SDK Playlist.insertItem 

Windows Media Player SDK banner art

Previous Next

Playlist.insertItem

The insertItem method inserts a media item into the playlist at the specified location.

Syntax

  

Parameters

index

Number (long) containing the index at which to add the item.

item

Media object to insert.

Return Values

This method does not return a value.

Remarks

All items after the inserted item will have their index numbers increased by one.

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

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next