Song Class

Provides access to a song in the song library.

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

public sealed class Song : IEquatable<Song>, IDisposable

The Song class provides information about a song, including the song's Name, Artist, and Album.

You can obtain a Song object through the SongCollection.Item indexer and the MediaQueue.ActiveSong property.

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

Community Additions