The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Genre Class

Provides access to genre information in the media library.

public sealed class Genre : IEquatable<Genre>, IDisposable

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.

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

Windows Phone

Community Additions

© 2014 Microsoft