Skip to content

Latest commit

 

History

History
76 lines (42 loc) · 2.46 KB

playlistarray-object.md

File metadata and controls

76 lines (42 loc) · 2.46 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location ms.custom
PlaylistArray Object
The PlaylistArray object provides a way to access playlists by index number.
8a29f36c-9c7c-4bc7-9adb-b34cc4231d81
PlaylistArray Object Windows Media Player
apiref
PlaylistArray Object
NA
reference
4/26/2023
UpdateFrequency5

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