Table of Contents

Class Artist

Namespace
Microsoft.Xna.Framework.Media
Assembly
MonoGame.Framework.dll

Provides access to artist information in the media library.

public sealed class Artist : IDisposable
Inheritance
Artist
Implements
Inherited Members

Remarks

The Artist class provides information about an artist, including the artist's Name, Albums, and Songs

You can obtain an Artist through the Album.Artist and Song.Artist properties.

Constructors

Artist(string)

Creates a new instance of Artist class.

public Artist(string artist)

Parameters

artist string

Name of the artist.

Properties

Albums

Gets the AlbumCollection for the Artist.

public AlbumCollection Albums { get; }

Property Value

AlbumCollection

IsDisposed

Gets a value indicating whether the object is disposed.

public bool IsDisposed { get; }

Property Value

bool

Name

Gets the name of the Artist.

public string Name { get; }

Property Value

string

Songs

Gets the SongCollection for the Artist.

public SongCollection Songs { get; }

Property Value

SongCollection

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetHashCode()

Gets the hash code for this instance.

public override int GetHashCode()

Returns

int

ToString()

Returns a String representation of the Artist.

public override string ToString()

Returns

string