Windows Media Player 11 SDK IWMPMediaCollection Interface
Previous | Next |
IWMPMediaCollection Interface
The IWMPMediaCollection interface provides methods that can be used to organize a large collection of media items.
In addition to the methods inherited from IDispatch, the IWMPMediaCollection interface exposes the following methods.
Method | Description |
add | Adds a new media item to the library. |
getAll | Retrieves a pointer to an IWMPPlaylist interface that corresponds to the playlist that contains all media items in the library. |
getAttributeStringCollection | Retrieves a pointer to an IWMPStringCollection interface that represents the set of all values for a given attribute within a given media type. |
getByAlbum | Retries a pointer to an IWMPPlaylist interface to an object containing media items from the specified album. |
getByAttribute | Retrieves a pointer to an IWMPPlaylist interface that corresponds to the specified attribute having the specified value. |
getByAuthor | Retrieves a pointer to an IWMPPlaylist interface that contains the media items for the specified author. |
getByGenre | Retrieves a pointer to an IWMPPlaylist interface to an object containing media items with the specified genre. |
getByName | Retrieves a pointer to an IWMPPlaylist interface that contains the media items with the specified name. |
getMediaAtom | Retrieves the index at which a given attribute resides. |
isDeleted | No longer supported. |
remove | Removes the specified media item from the media collection. |
setDeleted | Moves the specified media item to the deleted items folder. |
See Also
Previous | Next |