Genre Class

Provides access to genre information in the media library.

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

public sealed class Genre : IEquatable<Genre>

The Genre class provides information about a genre, including the genre's Name, and the Albums and Songs in that genre that are on the device.

You can obtain a Genre object through the GenreCollection.Item indexer and the Album.Genre and Song.Genre properties.

Xbox 360, Windows XP SP2, Windows Vista, Zune