Aracılığıyla paylaş


Song Members

The following tables list the members exposed by the Song type.

Public Properties

Name Description
Public Property Album Gets the Album on which the Song appears.
Public Property Artist Gets the Artist of the Song.
Public Property Duration Gets the duration of the Song.
Public Property Genre Gets the Genre of the Song.
Public Property IsDisposed Gets a value indicating whether the object is disposed.
Public Property IsProtected Gets a value that indicates whether the song is DRM protected content.
Public Property IsRated Gets a value that indicates whether the song has been rated by the user.
Public Property Name Gets the name of the Song.
Public Property PlayCount Gets the song play count.
Public Property Rating Gets the user's rating for the Song.
Public Property TrackNumber Gets the track number of the song on the song's Album.

Public Methods

Name Description
Public Method Dispose Immediately releases the unmanaged resources used by this object.
Public Method Equals Overloaded. Determines whether two instances of Song are equal.
Public Method Static FromUri Constructs a new Song object based on the specified URI.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Determines whether the specified Song instances are equal.
Public Method Static op_Inequality Determines whether the specified Song instances are not equal.
Public Method ToString Returns a String representation of the Song.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Song Class
Microsoft.Xna.Framework.Media Namespace