Share via


Windows Media Player 11 SDK MediaCollection.getByAttributeAndMediaType 

Windows Media Player SDK banner art

Previous Next

MediaCollection.getByAttributeAndMediaType

The getByAttributeAndMediaType method retrieves a Playlist object containing Media objects having the specified attribute and media type.

Syntax

  

Parameters

attribute

String containing the attribute.

value

String containing the value.

mediaType

String containing the media type. Must contain one of the following values: "audio", "video", "photo", "playlist", or "other".

Return Values

This method returns a Playlist object

Requirements

Version: Windows Media Player 11.

Library: Use wmp.dll.

See Also

Previous Next