Remarks
Removes a song (item) from the playlist associated with the specified player.
For further details about playlists management see the How to create and manage a playlist tutorial.
Syntax
[Visual Basic]
Public Function PlayListRemoveItem (
nPlayerIndex as Int16,
nIndex as Int16
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes PlayListRemoveItem (
Int16 nPlayerIndex,
Int16 nIndex
);
|
|
[C++]
public: enumErrorCodes PlayListRemoveItem (
Int16 nPlayerIndex,
Int16 nIndex
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the player that owns the playlist
|
nIndex
|
Number representing the zero-based deletion position: if the nIndex parameter value is set to -1, all the items are removed from the playlist
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|
|