MediaPlaybackCommandManager.MediaPlayer Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the MediaPlayer instance associated with the MediaPlaybackCommandManager.
public:
property MediaPlayer ^ MediaPlayer { MediaPlayer ^ get(); };
MediaPlayer MediaPlayer();
public MediaPlayer MediaPlayer { get; }
var mediaPlayer = mediaPlaybackCommandManager.mediaPlayer;
Public ReadOnly Property MediaPlayer As MediaPlayer
The MediaPlayer instance associated with the MediaPlaybackCommandManager.
You get an instance of the MediaPlaybackCommandManager by accessing the CommandManager property of a MediaPlayer object. This property gives you a reference to the media player from which the command manager was obtained.