Windows Media Player SDK banner art
PreviousNext

PlaylistCollection.getByName

The getByName method retrieves a PlaylistArray object containing the specified playlist, if it exists.

Syntax

player.playlistCollection.getByName(name)

Parameters

  name

String containing the name of the playlist to be retrieved.

Return Values

This method returns a PlaylistArray object.

Remarks

Playlists are uniquely named within the database, so this method is guaranteed to return a PlaylistArray object containing no more than one playlist. Use PlaylistArray.count to determine whether the playlist exists. If count is zero, the playlist does not exist.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.