BreaksCommandAdd Method (MItemClass)
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
Public Overridable Sub BreaksCommandAdd( _
   ByVal _dblTime As Double, _
   ByVal _bsCommand As String, _
   ByVal _bsParam As String, _
   ByVal _pTargetObject As Object, _
   ByRef _ppBreakItem As MItem _
) 
public virtual void BreaksCommandAdd( 
   double _dblTime,
   string _bsCommand,
   string _bsParam,
   object _pTargetObject,
   out MItem _ppBreakItem
)
public procedure BreaksCommandAdd( 
    _dblTime: Double;
    _bsCommand: String;
    _bsParam: String;
    _pTargetObject: TObject;
   Out  _ppBreakItem: MItem
); virtual; 
public: virtual 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

MItemClass Class
MItemClass Members