Share via


Windows Media Player 11 SDK PLAYLIST.itemCount 

Windows Media Player SDK banner art

Previous Next

PLAYLIST.itemCount

The itemCount attribute retrieves the number of items currently displayed in the PLAYLIST element.

Syntax

  

Possible Values

This attribute is a read-only Number (long).

Remarks

The itemCount property will count the total number of expanded items. For example, if there are two playlists that contain three media items each, itemCount will return 2 if the playlists are not expanded. If only the first playlist is expanded, itemCount will return 4. If both playlists are expanded, itemCount will return 6.

Requirements

Windows Media Player 9 Series or later.

See Also

Previous Next