getAttributeName Method

This topic documents a feature that is obsolete as of Windows Internet Explorer 7.

Obsolete. Returns the name of the attribute whose index has been specified.

Syntax

sItemName = object.getAttributeName(lIndex)

Parameters

lIndex Required. An Integer that specifies the attribute index.

Return Value

A String that receives the attribute name.

Remarks

As of Microsoft Internet Explorer 6 on Windows XP Service Pack 2 (SP2) or Internet Explorer 7, the mediaBar feature is obsolete and no longer available.

getAttributeName was introduced in Internet Explorer 6.

You can use this method to return the available categories of information about loaded or upcoming media items. For example, you might use this method to determine whether an attribute index specifies abstract, author, copyright, or duration information, depending on the media item.

If no media is currently playing in the Media Bar, any attempt to access media attribute information with getItemInfo, getAttributeName, or attributeCount returns a script error.

Applies To

PlaylistInfo, MediaItem

See Also

Community Additions

ADD
Show:
© 2014 Microsoft