Share via


Windows Media Player 11 SDK IWMPPlaylist.insertItem (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPPlaylist.insertItem (VB and C#)

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

  

Parameters

lIndex

A System.Int32 that is the zero-based index at which the media item will be inserted in the playlist.

pIWMPMedia

A WMPLib.IWMPMedia interface that represents the media item to be inserted.

Remarks

All media items after the inserted item will have their indexes increased by one.

Before calling this method, you must have full access to the library. For more information, see Library Access.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: WMPLib

Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next