MPLATFORMLib Namespace > MItemClass Class : PlaylistReorder Method |
Public Overridable Sub PlaylistReorder( _ ByVal _nIndex As Integer, _ ByVal _nIndexAdd As Integer _ )
public virtual void PlaylistReorder( int _nIndex, int _nIndexAdd )
public procedure PlaylistReorder( _nIndex: Integer; _nIndexAdd: Integer ); virtual;
public: virtual void PlaylistReorder( int _nIndex, int _nIndexAdd )
Here is examples of reorders:
'1 2 3 4 5 6 -> 1 2 3 4 6 5 m_objPlaylist.PlaylistReorder(5, 1) '1 2 3 4 5 6 -> 1 2 3 5 4 6 m_objPlaylist.PlaylistReorder(5, -1) '1 2 3 4 5 6 -> 5 1 2 3 4 6 m_objPlaylist.PlaylistReorder(5, -10) '1 2 3 4 5 6 -> 1 2 3 4 6 7 8 5 m_objPlaylist.PlaylistReorder(5, 10)
//1 2 3 4 5 6 -> 1 2 3 4 6 5 m_objPlaylist.PlaylistReorder(5, 1); //1 2 3 4 5 6 -> 1 2 3 5 4 6 m_objPlaylist.PlaylistReorder(5, -1); //1 2 3 4 5 6 -> 5 1 2 3 4 6 m_objPlaylist.PlaylistReorder(5, -10); //1 2 3 4 5 6 -> 1 2 3 4 6 7 8 5 m_objPlaylist.PlaylistReorder(5, 10);
//1 2 3 4 5 6 -> 1 2 3 4 6 5 mPlaylist.PlaylistReorder(5, 1); //1 2 3 4 5 6 -> 1 2 3 5 4 6 mPlaylist.PlaylistReorder(5, -1); //1 2 3 4 5 6 -> 5 1 2 3 4 6 mPlaylist.PlaylistReorder(5, -10); //1 2 3 4 5 6 -> 1 2 3 4 6 7 8 5 mPlaylist.PlaylistReorder(5, 10);