Windows Media Player 11 SDK IWMPPlaylist.insertItem (VB and C#)
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
- IWMPMedia Interface (VB and C#)
- IWMPPlaylist Interface (VB and C#)
- IWMPPlaylist.removeItem (VB and C#)
Previous | Next |