共用方式為


GlobalSystemMediaTransportControlsSession.TryChangeAutoRepeatModeAsync 方法

定義

嘗試變更會話上的 MediaPlaybackAutoRepeatMode。

public:
 virtual IAsyncOperation<bool> ^ TryChangeAutoRepeatModeAsync(MediaPlaybackAutoRepeatMode requestedAutoRepeatMode) = TryChangeAutoRepeatModeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryChangeAutoRepeatModeAsync(MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryChangeAutoRepeatModeAsync(MediaPlaybackAutoRepeatMode requestedAutoRepeatMode);
function tryChangeAutoRepeatModeAsync(requestedAutoRepeatMode)
Public Function TryChangeAutoRepeatModeAsync (requestedAutoRepeatMode As MediaPlaybackAutoRepeatMode) As IAsyncOperation(Of Boolean)

參數

requestedAutoRepeatMode
MediaPlaybackAutoRepeatMode

要求的自動重複模式。

傳回

指出成功的 Bool。

屬性

Windows 需求

應用程式功能
globalMediaControl

適用於