Bagikan melalui


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)

Syntax

public sealed class Genre : IEquatable<Genre>, IDisposable

Remarks

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.

See Also

Reference

GenreCollection.Item Property
Album.Genre Property
Song.Genre Property
Genre Members
Microsoft.Xna.Framework.Media Namespace

Platforms

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