MediaExperience.GetMediaCollection Method
Retrieves the media collection that was last played. Applications can restore the collection and continue playback.
Syntax
public void GetMediaCollection(
MediaCollection destination
);
Parameters
destination
Microsoft.MediaCenter.MediaCollection. The last media collection that was played.
Return Value
This method does not return a value.
Remarks
This method only returns media collections that were created by Windows Media Center applications. This method does not return playlists that the user created in the main Windows Media Center experience.
Only the application that created the media collection can modify it. The collection is read-only for other applications.
Requirements
Reference: Microsoft.MediaCenter
Namespace: Microsoft.MediaCenter
Assembly: Microsoft.MediaCenter.dll
Platform: Windows 7
See Also