Share via


Windows Media Player 11 SDK StringCollection.getItemInfo 

Windows Media Player SDK banner art

Previous Next

StringCollection.getItemInfo

The getItemInfo method retrieves the string corresponding to the specified StringCollection item index and name.

Syntax

  

Parameters

index

Number (long) specifying the zero-based index of the StringCollection item from which to get the attribute.

name

String containing the attribute name.

Return Values

This method returns a String representing the value of the specified attribute. For attributes whose underlying value is Boolean, it returns the string "true" or "false".

Remarks

To retrieve attributes with multiple values and attributes with complex values, use the getItemInfoByType method.

To use this method, read access to the library is required. For more information, see Library Access.

Requirements

Version: Windows Media Player 11.

Library: Use wmp.dll.

See Also

Previous Next