BreaksGetCount Method (MItemClass)
number of breaks
total breaks duration in seconds
Gets the number of breaks in file, playlist or live source and total breaks duration.
Syntax
Public Overridable Sub BreaksGetCount( _
   ByRef _pnCount As Integer, _
   ByRef _pdblTotalDuration As Double _
) 
public virtual void BreaksGetCount( 
   out int _pnCount,
   out double _pdblTotalDuration
)
public procedure BreaksGetCount( 
   Out  _pnCount: Integer;
   Out  _pdblTotalDuration: Double
); virtual; 
public: virtual void BreaksGetCount( 
   [PARAMFLAG::Out] int _pnCount,
   [PARAMFLAG::Out] double _pdblTotalDuration
) 

Parameters

_pnCount
number of breaks
_pdblTotalDuration
total breaks duration in seconds
Example
Dim nCount As Integer
Dim dblDuration As Double
pBreaks.BreaksGetCount(nCount, dblDuration)
int nCount;
double dblDuration;
pBreaks.BreaksGetCount(out nCount, out dblDuration);
nCount: integer;
dblDuration: double;

pBreaks.BreaksGetCount(nCount, dblDuration);
See Also

Reference

MItemClass Class
MItemClass Members