AxWindowsMediaPlayer.mediaCollection property

The mediaCollection property gets an IWMPMediaCollection interface that provides a way to organize a large collection of media items.

This property is read-only.

Syntax

public IWMPMediaCollection mediaCollection {get;}

Public ReadOnly Property mediaCollection As IWMPMediaCollection

Property value

The WMPLib.IWMPMediaCollection interface to a collection of media items.

Remarks

To retrieve the value of this property, read access to the library is required. For more information, see Library Access.

Requirements

Version
Windows Media Player 9 Series or later
Namespace
AxWMPLib
Assembly
AxInterop.WMPLib.dll (AxInterop.WMPLib.dll.dll)

See also

AxWindowsMediaPlayer Object (VB and C#)

IWMPMediaCollection Interface (VB and C#)

IWMPSettings2.mediaAccessRights (VB and C#)

IWMPSettings2.requestMediaAccessRights (VB and C#)