次の方法で共有


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 IsDisposed Gets a value indicating whether the object is disposed.
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 SavedPictures Returns the collection of all saved pictures in the device's 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 GetPictureFromToken Retrieves a picture from the device's media library based on a picture token.
Public Method GetType (Inherited from Object.)
Public Method SavePicture Overloaded. Saves the image to the media library.
Public Method ToString (Inherited from Object.)

Protected Methods

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

See Also

Reference

MediaLibrary Class
Microsoft.Xna.Framework.Media Namespace