Share via


MediaPlayer.MoveNext Method

Moves to the next song in the queue of playing songs.

Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static void MoveNext ()

Remarks

If the current song is the last song in the queue, MoveNext moves to the first song in the queue.

MoveNext does not alter the current media state (playing, paused, or stopped).

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone