Share via


MediaPlaybackList.ShuffleEnabled 属性

定义

获取或设置一个值,该值指示播放列表中的项是否以随机顺序播放。

public:
 property bool ShuffleEnabled { bool get(); void set(bool value); };
bool ShuffleEnabled();

void ShuffleEnabled(bool value);
public bool ShuffleEnabled { get; set; }
var boolean = mediaPlaybackList.shuffleEnabled;
mediaPlaybackList.shuffleEnabled = boolean;
Public Property ShuffleEnabled As Boolean

属性值

Boolean

bool

如果启用随机,则为 True;否则为 false。

适用于