MediaPlayer.Play Method

Plays a song or collection of songs.

Overload List

Name Description
MediaPlayer.Play (Song) Plays a Song.
MediaPlayer.Play (SongCollection) Plays a SongCollection.
MediaPlayer.Play (SongCollection, Int32) Plays a SongCollection, starting with the Song at the specified index.

See Also

Tasks

Playing a Song

Reference

MediaPlayer Class
MediaPlayer Members
Microsoft.Xna.Framework.Media Namespace