Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
PlayListAddItem method 
 
Remarks 
 
Adds a song (item) to the loaded playlist. 
 
For further details about playlists management see the How to create and manage a playlist tutorial. 
 
 
Syntax 
 
[Visual Basic] 
control.PlayListAddItem
nPlayer as Integer, 
strPathname as String
nIndex as Integer 
 
[C++] 
short control.PlayListAddItem
short nPlayer
LPCTSTR strPathname
short nIndex 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player that owns the playlist
strPathname
String containing the absolute pathname of the element to add
nIndex
Number representing the zero-based insertion position: if the nIndex parameter value exceed the playlist length, the song will be placed at the bottom of the playlist
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.NOERROR (0)
The call was successful.
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents