IWMPCdromCollection (VB and C#) interface

Provides a way to organize and access a collection of CD or DVD drives.

The IWMPCdromCollection interface exposes the following property.

Members

The IWMPCdromCollection (VB and C#) interface has these types of members:

Methods

The IWMPCdromCollection (VB and C#) interface has these methods.

Method Description
getByDriveSpecifier Returns an IWMPCdrom interface associated with a particular drive letter.
Item Returns an IWMPCdrom interface at the given index.

Properties

The IWMPCdromCollection (VB and C#) interface has these properties.

Property Access type Description
count
Read-only
Gets the number of available CD and DVD drives on the system.

Get an IWMPCdromCollection interface by using the following property.

Object Property
AxWindowsMediaPlayer Object cdromCollection

Requirements

Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

IWMPCdrom Interface (VB and C#)