BreaksCommandAdd Method (IMBreaks)
break time in seconds
command name
additional parameters
bject that performs the command
newly created break item
Adds a new break command to specific time of playlist, file or live source.
Syntax
Sub BreaksCommandAdd( _
   ByVal _dblTime As Double, _
   ByVal _bsCommand As String, _
   ByVal _bsParam As String, _
   ByVal _pTargetObject As Object, _
   ByRef _ppBreakItem As MItem _
) 
procedure BreaksCommandAdd( 
    _dblTime: Double;
    _bsCommand: String;
    _bsParam: String;
    _pTargetObject: TObject;
   Out  _ppBreakItem: MItem
); 
void BreaksCommandAdd( 
   double _dblTime,
   BSTR* _bsCommand,
   BSTR* _bsParam,
   IUnknown* _pTargetObject,
   [PARAMFLAG::Out] MItem* _ppBreakItem
) 

Parameters

_dblTime
break time in seconds
_bsCommand
command name
_bsParam
additional parameters
_pTargetObject
bject that performs the command
_ppBreakItem
newly created break item
Example
m_pBreaks.BreaksCommandAdd(10, "stop", "", pItem, pNewItem)
m_pBreaks.BreaksCommandAdd(10, "stop", "", pItem, out pNewItem);
m_pBreaks.BreaksCommandAdd(10, top', '', pItem, pNewItem);
See Also

Reference

IMBreaks Interface
IMBreaks Members