Windows Media Player 11 SDK StringCollection Object 

Windows Media Player SDK banner art

Previous Next

StringCollection Object

The StringCollection object provides a way to manipulate a collection of strings.

The StringCollection object supports the following property.

Property Description
count Retrieves the number of items in the string collection.

The StringCollection object supports the following methods.

Method Description
getAttributeCountByType Retrieves the number of attributes associated with the specified StringCollection item index, attribute name, and language.
getItemInfo Retrieves the string corresponding to the specified StringCollection item index and name.
getItemInfoByType Retrieves the string corresponding to the specified StringCollection item index, name, language, and attribute index.
isIdentical Retrieves a value indicating whether the supplied object is the same as the current one.
item Retrieves the string at the specified index.

The StringCollection object is accessed through the following method.

Object Method
MediaCollection getAttributeStringCollection

For purposes of illustration, player.mediaCollection.getAttributeStringCollection(attribute, mediaType) is used in the reference syntax sections.

See Also

Previous Next