Share via


MediaQueue.ActiveSongIndex Property

Gets or sets the index of the current (active) song in the queue of playing songs.

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

Syntax

public int ActiveSongIndex { get; set; }

Property Value

Index of the current song in the queue of playing songs.

Remarks

Changing the active song index does not alter the current media state (playing, paused, or stopped).

See Also

Reference

MediaQueue.ActiveSong Property
MediaQueue Class
MediaQueue Members
Microsoft.Xna.Framework.Media Namespace

Platforms

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