MediaLibrary Members

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

Public Constructors

Name Description
Public Method MediaLibrary Overloaded. Initializes a new instance of this class.

Public Properties

Name Description
Public Property Albums Gets the AlbumCollection that contains all albums in the media library.
Public Property Artists Gets the ArtistCollection that contains all artists in the media library.
Public Property Genres Gets the GenreCollection that contains all genres in the media library.
Public Property MediaSource Gets the MediaSource with which this media library was constructed.
Public Property Pictures Gets the PictureCollection that contains all pictures in the media library.
Public Property Playlists Gets the PlaylistCollection that contains all playlists in the media library.
Public Property RootPictureAlbum Gets the root PictureAlbum for all pictures in the media library.
Public Property Songs Gets the SongCollection that contains all songs in the media library.

Public Methods

Name Description
Public Method Dispose Releases the resources used by the MediaLibrary.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize Releases unmanaged resources and performs other cleanup operations before the MediaLibrary is reclaimed by garbage collection.
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

MediaLibrary Class
Microsoft.Xna.Framework.Media Namespace