Windows Media Player SDK banner art
PreviousNext

Media.isMemberOf

The isMemberOf method returns a value indicating whether the media item is a member of the specified playlist.

Syntax

player.currentMedia.isMemberOf(playlist)

Parameters

  playlist

Playlist object that might contain the media item.

Return Values

This method returns a Boolean.

Remarks

This method is not supported with playlists retrieved through the MediaCollection object. To test whether a media item is a member of a particular named playlist, retrieve the playlist with player.playlistCollection.getByName(name).item(0). This method can also be used with CD and metafile playlists.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.