Windows Media Player SDK banner art
PreviousNext

Playlist.insertItem

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

Syntax

player.currentPlaylist.insertItem(index, item)

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.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.