Class Song
Assembly: MonoGame.Framework.dll
public sealed class Song : IEquatable<Song>
Properties
Gets the Album on which the Song appears.
Declaration
public Album Album { get; }
Property Value
Gets the Artist of the Song.
Declaration
public Artist Artist { get; }
Property Value
Declaration
public TimeSpan Duration { get; }
Property Value
Type |
Description |
TimeSpan |
|
Gets the Genre of the Song.
Declaration
public Genre Genre { get; }
Property Value
Declaration
public bool IsDisposed { get; }
Property Value
Declaration
public bool IsProtected { get; }
Property Value
Declaration
public bool IsRated { get; }
Property Value
Declaration
public string Name { get; }
Property Value
Declaration
public int PlayCount { get; }
Property Value
Declaration
public int Rating { get; }
Property Value
Declaration
public int TrackNumber { get; }
Property Value
Methods
Declaration
Declaration
public bool Equals(Song song)
Parameters
Type |
Name |
Description |
Song |
song |
|
Returns
Declaration
public override bool Equals(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Declaration
protected void Finalize()
Declaration
public static Song FromUri(string name, Uri uri)
Parameters
Type |
Name |
Description |
String |
name |
The name for the song. See Name.
|
Uri |
uri |
The path to the song file.
|
Returns
Declaration
public override int GetHashCode()
Returns
Operators
Declaration
public static bool operator ==(Song song1, Song song2)
Parameters
Type |
Name |
Description |
Song |
song1 |
|
Song |
song2 |
|
Returns
Declaration
public static bool operator !=(Song song1, Song song2)
Parameters
Type |
Name |
Description |
Song |
song1 |
|
Song |
song2 |
|
Returns
Implements
IDisposable
IEquatable<>