Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the user's rating for the Song.
![]() |
---|
Album information is not supported. This value is always 0. |
Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
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).
See Also
Reference
Song.IsRated Property
Song Class
Song Members
Microsoft.Xna.Framework.Media Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone