COLUMN.columnID

[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 columnID attribute specifies or retrieves a column ID in the PLAYLIST control.

        elementID.columnID

Possible Values

This attribute is a read/write String.

Remarks

The columnID values are the same values used with the getItemInfo method on a Media object. A list can be obtained by using the Media.attributeCount property to determine the number of attributes available for a given Media object. Index numbers can then be used with the Media.getAttributeName method to determine the names of the attributes, which can in turn be passed to Media.getItemInfo. The columnID property can only be set to these values, with the exception of some values that may not be returned by Media.getAttributeName. These values are listed below.

Value Description
name Displays the name of the Media object.
duration Displays the duration of the Media object.
sourceURL Displays the URL of the Media object.
status Displays the status of copying files.
size Displays the size of the file that the Media object represents.
extension Displays the file name extension of the file that the Media object represents.

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later

See also

COLUMN Element

Media Object

Media.attributeCount

Media.getAttributeName

Media.getItemInfo