MediaPlaybackItem.IsDisabledInPlaybackList 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 that specifies whether a MediaPlaybackItem is disabled in a MediaPlaybackList.
public:
property bool IsDisabledInPlaybackList { bool get(); void set(bool value); };
bool IsDisabledInPlaybackList();
void IsDisabledInPlaybackList(bool value);
public bool IsDisabledInPlaybackList { get; set; }
var boolean = mediaPlaybackItem.isDisabledInPlaybackList;
mediaPlaybackItem.isDisabledInPlaybackList = boolean;
Public Property IsDisabledInPlaybackList As Boolean
Property Value
bool
True if the media playback item is disabled in the playback list; otherwise, false.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
A example scenario for using this property is when network connectivity is lost, your app can check the TotalDownloadProgress property to see which items in the playback list have completed downloading. For items that have not completed, set IsDisabledInPlaybackList to true so that the item won't be played in the list.
Note that after playback of an item has begun, setting the IsDisabledInPlaybackList property has no effect.