Class Album
Provides access to an album in the media library
public sealed class Album : IDisposable
- Inheritance
-
Album
- Implements
- Inherited Members
Remarks
The Album class provides information about an album, including the album's Name, Artist, and Songs.
You can obtain an Album object through the this[int] indexer and the Song.Album property.
Properties
Artist
Gets the Artist of the Album.
public Artist Artist { get; }
Property Value
Duration
Gets the duration of the Album.
public TimeSpan Duration { get; }
Property Value
Genre
Gets the Genre of the Album.
public Genre Genre { get; }
Property Value
HasArt
Gets a value indicating whether the Album has associated album art.
public bool HasArt { 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 Album.
public string Name { get; }
Property Value
Songs
Gets a SongCollection that contains the songs on the Album.
public SongCollection Songs { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetAlbumArt()
Returns the stream that contains the album art image data.
public Stream GetAlbumArt()
Returns
GetHashCode()
Gets the hash code for this instance.
public override int GetHashCode()
Returns
GetThumbnail()
Returns the stream that contains the album thumbnail image data.
public Stream GetThumbnail()
Returns
ToString()
Returns a String representation of this Album.
public override string ToString()