GlobalSystemMediaTransportControlsSession.TryChangeShuffleActiveAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试更改会话是否正在主动洗牌。
public:
virtual IAsyncOperation<bool> ^ TryChangeShuffleActiveAsync(bool requestedShuffleState) = TryChangeShuffleActiveAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryChangeShuffleActiveAsync(bool const& requestedShuffleState);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryChangeShuffleActiveAsync(bool requestedShuffleState);
function tryChangeShuffleActiveAsync(requestedShuffleState)
Public Function TryChangeShuffleActiveAsync (requestedShuffleState As Boolean) As IAsyncOperation(Of Boolean)
参数
- requestedShuffleState
-
Boolean
bool
要切换到的请求的随机状态。
返回
True 表示成功;否则为 False
- 属性
Windows 要求
应用功能 |
globalMediaControl
|