MediaBreak.CanStart Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the MediaBreak can be played.
public:
property bool CanStart { bool get(); void set(bool value); };
bool CanStart();
void CanStart(bool value);
public bool CanStart { get; set; }
var boolean = mediaBreak.canStart;
mediaBreak.canStart = boolean;
Public Property CanStart As Boolean
Property Value
Boolean
bool
True if the MediaBreak can be played; otherwise false.
Remarks
You can set CanStart to false in the handler for the BreakEnded event to make sure that a break that has already played isn't played again.