Back to monogame.net
Show / Hide Table of Contents

Class Genre

Inheritance
Object
Genre
Namespace: Microsoft.Xna.Framework.Media
Assembly: MonoGame.Framework.dll
Syntax
public sealed class Genre : IDisposable

Constructors

Genre(String)

Declaration
public Genre(string genre)
Parameters
Type Name Description
String genre

Properties

Albums

Gets the AlbumCollection for the Genre.

Declaration
public AlbumCollection Albums { get; }
Property Value
Type Description
AlbumCollection

IsDisposed

Gets a value indicating whether the object is disposed.

Declaration
public bool IsDisposed { get; }
Property Value
Type Description
Boolean

Name

Gets the name of the Genre.

Declaration
public string Name { get; }
Property Value
Type Description
String

Songs

Gets the SongCollection for the Genre.

Declaration
public SongCollection Songs { get; }
Property Value
Type Description
SongCollection

Methods

Dispose()

Immediately releases the unmanaged resources used by this object.

Declaration
public void Dispose()

GetHashCode()

Gets the hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
Int32

ToString()

Returns a String representation of the Genre.

Declaration
public override string ToString()
Returns
Type Description
String
In This Article
Back to top

© 2012 Microsoft Corporation. All rights reserved.

© The MonoGame Team.