Partager via


IWMPStringCollection (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 a property and a method for accessing a collection of strings by index number.

The IWMPStringCollection interface exposes the following property.

Members

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

Methods

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

Method Description
Item Returns the string at the specified index.

Properties

The IWMPStringCollection (VB and C#) interface has these properties.

Property Access type Description
count
Read-only
Gets the number of items in the string collection.

Get an IWMPStringCollection interface by using the following methods.

Object Property
IWMPMediaCollection getAttributeStringCollection

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

IWMPStringCollection2 Interface (VB and C#)