Share via


MetadataText Object

[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 MetadataText object provides a way to retrieve metadata for complex textual metadata attributes.

The MetadataText object supports the following properties.

Property Description
description Retrieves a description of the metadata text.
text Retrieves the metadata text.

 

The MetadataText object is accessed through the following method.

Object Method
Media getItemInfoByType

 

For purposes of illustration, player.currentMedia.getItemInfoByType(name, language, index) is used in the reference syntax sections.

See also

Object Model Reference for Scripting