Song¶
-
class
Song
: System.Object, System.IEquatable<Song>, System.IDisposable -
readonly Album
Album
Gets the Album on which the Song appears.
-
readonly Artist
Artist
Gets the Artist of the Song.
-
readonly Genre
Genre
Gets the Genre of the Song.
-
readonly bool
IsDisposed
-
readonly System.TimeSpan
Duration
-
readonly bool
IsProtected
-
readonly bool
IsRated
-
readonly string
Name
-
readonly int
PlayCount
-
readonly int
Rating
-
readonly int
TrackNumber
-
string
get_FilePath
()
-
public Song
FromUri
(string name, System.Uri uri) Returns a song that can be played via T:Microsoft.Xna.Framework.Media.MediaPlayer.
Parameters: - name (string) – The name for the song. See P:Microsoft.Xna.Framework.Media.Song.Name.
- uri (System.Uri) – The path to the song file.
Returns:
-
public void
Dispose
()
-
public int
GetHashCode
()
-
public bool
Equals
(Song song) Parameters: - song (Microsoft.Xna.Framework.Media.Song) –
-
public bool
Equals
(System.Object obj) Parameters: - obj (System.Object) –
-
public bool
op_Equality
(Song song1, Song song2) Parameters: - song1 (Microsoft.Xna.Framework.Media.Song) –
- song2 (Microsoft.Xna.Framework.Media.Song) –
-
public bool
op_Inequality
(Song song1, Song song2) Parameters: - song1 (Microsoft.Xna.Framework.Media.Song) –
- song2 (Microsoft.Xna.Framework.Media.Song) –
-
SharpDX.MediaFoundation.Topology
get_Topology
()
-
readonly Album