Sdílet prostřednictvím


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)

Syntax

public sealed class Song : IEquatable<Song>

Remarks

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.

See Also

Reference

SongCollection.Item Property
MediaQueue.ActiveSong Property
Song Members
Microsoft.Xna.Framework.Media Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune