MediaBreak.CanStart Property

Definition

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.

Applies to