Share via


IWMPPlaylist::get_attributeName (Windows Embedded CE 6.0)

1/6/2010

The get_attributeName method retrieves the name of an attribute specified by an index.

Syntax

HRESULT get_attributeName( long lIndex, BSTR* pbstrAttributeName ); 

Parameters

  • lIndex
    [in]  long containing the index.
  • pbstrAttributeName
    [out]  Pointer to a BSTR containing the attribute name.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description

S_OK

The method succeeded.

Remarks

The number of attributes is retrieved by the get_attributeCount method.

The pbstAttributeName string can be supplied to the getItemInfo method in order to specify or retrieve a value for the named attribute.

Before calling this method, you must have read access to the library.

See Also

Reference

IWMPPlaylist Interface