Share via


Windows Media Player 11 SDK IWMPMediaCollection.getMediaAtom (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPMediaCollection.getMediaAtom (VB and C#)

The getMediaAtom method returns the index of a specified attribute within the set of available attributes.

  

Parameters

bstrItemName

The System.String that is the name of the item for which the index should be retrieved.

Return Value

The System.Int32 that is the index.

Remarks

The index number retrieved with this method can be passed to the IWMPMedia.getItemInfoByAtom to access attribute values. This technique is generally more efficient when working with large playlists than accessing an attribute value by name through IWMPMedia.getItemInfo.

Before calling this method, you must have read access to the library. For more information, see Library Access.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: WMPLib

Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next