Windows Media Player SDK banner art
PreviousNext

PlaylistCollection.newPlaylist

The newPlaylist method creates a new playlist.

Syntax

player.playlistCollection.newPlaylist(name)

Parameters

  name

String containing the name of the playlist to be created.

Return Values

This method returns a Playlist object.

Remarks

If the playlist name specified is not unique in the database, an error will result. Use getByName and PlaylistArray.count to determine whether a playlist already exists in the database.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.