-api-id | -api-type |
---|---|
M:Windows.Media.Playback.MediaPlayer.Close |
winrt method |
Closes the MediaPlayer and disposes of associated resources.
The Close method is used by Universal Windows app using JavaScript. For apps written using the .NET Framework 4.5 in C# and VB.NET, the Close method is exposed as the Dispose() method on the MediaPlayer object. For apps written in C++, the Close method will be called when using the delete keyword on the object.