SchedulerRemoveByIndex Method (MWriterClass)
index of item to start remove from
number of items to be removed
Possible values:
Removes multiple tasks by its index.
Syntax
Public Overridable Sub SchedulerRemoveByIndex( _
   ByVal _nIndex As Integer, _
   ByVal _nExtraRemove As Integer _
) 
public virtual void SchedulerRemoveByIndex( 
   int _nIndex,
   int _nExtraRemove
)
public procedure SchedulerRemoveByIndex( 
    _nIndex: Integer;
    _nExtraRemove: Integer
); virtual; 
public: virtual 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

MWriterClass Class
MWriterClass Members