Song.Rating Property

Gets the user's rating for the Song.
Dd282380.note(en-US,XNAGameStudio.30).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 the Zune device or Zune software, 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 XP SP2, Windows Vista, Zune

Community Additions