SchedulerRemoveByIndex Method (IMScheduler)
index of item to start remove from
number of items to be removed
Possible values:
Removes multiple tasks by its index.
Syntax
Sub SchedulerRemoveByIndex( _
   ByVal _nIndex As Integer, _
   ByVal _nExtraRemove As Integer _
) 
void SchedulerRemoveByIndex( 
   int _nIndex,
   int _nExtraRemove
)
procedure SchedulerRemoveByIndex( 
    _nIndex: Integer;
    _nExtraRemove: Integer
); 
void SchedulerRemoveByIndex( 
   int _nIndex,
   int _nExtraRemove
) 

Parameters

_nIndex
index of item to start remove from
_nExtraRemove
number of items to be removed
Possible values:
  • 0 - remove single item
  • positive value - number of items to be removed is calculated to the end of playlist
  • negative value - number or items to be removed is calculated to the beginning of playlist
Example
mPlaylist.SchedulerRemoveByIndex(5,-1);
mPlaylist.SchedulerRemoveByIndex(5,-1);
mScheduler.SchedulerRemoveByIndex(5,-1);
See Also

Reference

IMScheduler Interface
IMScheduler Members