Share via


PlaylistArray Object

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The PlaylistArray object provides a way to access playlists by index number.

The PlaylistArray object supports the following property.

Property Description
count Retrieves the number of playlists in the playlist array.

 

The PlaylistArray object supports the following method.

Method Description
item Retrieves the Playlist object at the given index.

 

The PlaylistArray object is accessed through the following methods.

Object Method
PlaylistCollection getAll, getByName

 

For purposes of illustration, player.playlistCollection.getAll is used in the reference syntax sections.

See also

Object Model Reference for Scripting