Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MediaBreakSchedule.PrerollBreak Property
Definition
- Namespace:
- Windows.Media.Playback
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 the MediaBreak to be played before the MediaPlaybackItem associated with the MediaBreakSchedule plays.
public:
property MediaBreak ^ PrerollBreak { MediaBreak ^ get(); void set(MediaBreak ^ value); };
MediaBreak PrerollBreak();
void PrerollBreak(MediaBreak value);
public MediaBreak PrerollBreak { get; set; }
var mediaBreak = mediaBreakSchedule.prerollBreak;
mediaBreakSchedule.prerollBreak = mediaBreak;
Public Property PrerollBreak As MediaBreak
Property Value
The MediaBreak to be played before the MediaPlaybackItem associated with the MediaBreakSchedule plays.
Remarks
If you want a MediaBreak to be played after the associated MediaPlaybackItem plays, assign it to the PostrollBreak property. If you want a MediaBreak to play at a point during the playback of the associated MediaPlaybackItem, use the InsertMidrollBreak method.
Applies to
Feedback
Was this page helpful?
