共用方式為


MediaPlayer.CommandManager 屬性

定義

取得與MediaPlayer相關聯的MediaPlaybackCommandManager,這個物件會指定和接收來自系統媒體傳輸控制項的事件行為。

public:
 property MediaPlaybackCommandManager ^ CommandManager { MediaPlaybackCommandManager ^ get(); };
MediaPlaybackCommandManager CommandManager();
public MediaPlaybackCommandManager CommandManager { get; }
var mediaPlaybackCommandManager = mediaPlayer.commandManager;
Public ReadOnly Property CommandManager As MediaPlaybackCommandManager

屬性值

MediaPlayer相關聯的MediaPlaybackCommandManager

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於