Copyright © 2005-2019 MultiMedia Soft

PlayListMoveItem method

Previous pageReturn to chapter overviewNext page

Remarks

 

Moves a song (item) from a source position to a destination position inside the playlist.

 

For further details about playlists management see the How to create and manage a playlist tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function PlayListMoveItem (

nPlayerIndex as Int16,

nOldIndex as Int16,

nNewIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlayListMoveItem (

Int16 nPlayerIndex,

Int16 nOldIndex,

Int16 nNewIndex

);


 

[C++]

public: enumErrorCodes PlayListMoveItem (

Int16 nPlayerIndex,

Int16 nOldIndex,

Int16 nNewIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that owns the playlist

nOldIndex

Number representing the zero-based source position

nNewIndex

Number representing the zero-based destination position

 

 

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.