Share via


IWMPCdromBurn::label property

[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 label property gets the CD volume label string.

This property is read-only.

Syntax

public System.String label {get;}

Public ReadOnly Property label As System.String

Property value

A System.String that is the volume label string.

Remarks

Due to the way CD labels are stored, the label of the CD may be shorter than the length of the specified volume label string. If the string is longer than the maximum length of a CD label, the text will be truncated.

Requirements

Requirement Value
Version
Windows Media Player 11.
Namespace
WMPLib
Assembly
Interop.WMPLib.dll (Interop.WMPLib.dll.dll)

See also

IWMPCdromBurn Interface (VB and C#)