Dela via


MediaPlayer Constructor

Definition

Initializes a new instance of the MediaPlayer object.

public:
 MediaPlayer();
 MediaPlayer();
public MediaPlayer();
function MediaPlayer()
Public Sub New ()

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to