IWMPStringCollection2 (VB and C#) interface

[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.]

Provides methods that supplement the IWMPStringCollection interface.

Members

The IWMPStringCollection2 (VB and C#) interface has these types of members:

Methods

The IWMPStringCollection2 (VB and C#) interface has these methods.

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

Get an IWMPStringCollection2 interface by casting the value returned by the IWMPMediaCollection.getAttributeStringCollection method.

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

IWMPStringCollection Interface (VB and C#)