Class Artist
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
stringName of the artist.
Properties
Albums
Gets the AlbumCollection for the Artist.
public AlbumCollection Albums { get; }
Property Value
IsDisposed
Gets a value indicating whether the object is disposed.
public bool IsDisposed { get; }
Property Value
Name
Gets the name of the Artist.
public string Name { get; }
Property Value
Songs
Gets the SongCollection for the Artist.
public SongCollection Songs { get; }
Property Value
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
ToString()
Returns a String representation of the Artist.
public override string ToString()