Dela via


MediaPlaybackList.SetShuffledItems(IIterable<MediaPlaybackItem>) Method

Definition

Sets the list of MediaPlaybackItem objects that will be played in shuffle mode, in the order in which they will be played.

public:
 virtual void SetShuffledItems(IIterable<MediaPlaybackItem ^> ^ value) = SetShuffledItems;
void SetShuffledItems(IIterable<MediaPlaybackItem> const& value);
public void SetShuffledItems(IEnumerable<MediaPlaybackItem> value);
function setShuffledItems(value)
Public Sub SetShuffledItems (value As IEnumerable(Of MediaPlaybackItem))

Parameters

value

IIterable<MediaPlaybackItem>

IEnumerable<MediaPlaybackItem>

The list of MediaPlaybackItem objects that will be played in shuffle mode.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

Use this method to manage the order in which items are played when ShuffleEnabled is set to true, replacing the shuffle order generated by the system.

Applies to