Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Song.Rating Property

Gets the user's rating for the Song.
Dd282380.note(en-us,XNAGameStudio.41).gifXbox 360 Specific Information
Album information is not supported. This value is always 0.

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

public int Rating { get; }

Property Value

User's rating for this Song, or 0 if the song is unrated.

Ratings range from 1 (dislike the most) to 10 (like the most).

When the user rates songs using a Windows Phone or the , the rating is set to 8 for liked songs (shown as a heart) and to 2 or 3 for disliked songs (shown as a broken heart).

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

Community Additions

© 2015 Microsoft