共用方式為


item method

Gets the medium at the position number that is indicated by an index in the current list.

 

Syntax

 retVal = object.item(index);

Parameters

  • index [in]
    Type: long

    An index into the collection.

Standards information

Remarks

If index is greater than or equal to the number of media in the list, this method returns NULL.

See also

Reference

IHTMLCSSMediaList::appendMedium

IHTMLCSSMediaList::deleteMedium

IHTMLCSSMediaList::length

IHTMLCSSMediaList::mediaText