Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaLibrary Members

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

NameDescription
Public MethodMediaLibraryOverloaded. Initializes a new instance of this class.

NameDescription
Public PropertyAlbumsGets the AlbumCollection that contains all albums in the media library.
Public PropertyArtistsGets the ArtistCollection that contains all artists in the media library.
Public PropertyGenresGets the GenreCollection that contains all genres in the media library.
Public PropertyIsDisposedGets a value indicating whether the object is disposed.
Public PropertyMediaSourceGets the MediaSource with which this media library was constructed.
Public PropertyPicturesGets the PictureCollection that contains all pictures in the media library.
Public PropertyPlaylistsGets the PlaylistCollection that contains all playlists in the media library.
Public PropertyRootPictureAlbumGets the root PictureAlbum for all pictures in the media library.
Public PropertySavedPicturesReturns the collection of all saved pictures in the device's media library.
Public PropertySongsGets the SongCollection that contains all songs in the media library.

NameDescription
Public MethodDisposeReleases the resources used by the MediaLibrary.
Public MethodEquals(Inherited from Object.)
Public MethodGetHashCode(Inherited from Object.)
Public MethodGetPictureFromTokenRetrieves a picture from the device's media library based on a picture token.
Public MethodGetType(Inherited from Object.)
Public MethodSavePictureOverloaded. Saves the image to the media library.
Public MethodToString(Inherited from Object.)

NameDescription
Protected MethodFinalize(Inherited from Object.)
Protected MethodMemberwiseClone(Inherited from Object.)

Community Additions

Show:
© 2017 Microsoft