IHTMLFramesCollection2::itemIHTMLFramesCollection2::item*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLFramesCollection2
*Next Topic: IHTMLFramesCollection2::get_length

IHTMLFramesCollection2::item


HRESULT item(
    VARIANT *pvarIndex,
    VARIANT *pvarResult
);

Retrieves an element or a collection from the frames collection. The index determines which action to take.

pvarIndex
Address of a variable specifying the element or collection to retrieve. If this parameter is a number, the method returns the element in the collection at the given position, where the first element has value 0, the second has 1, and so on. If this parameter is a string, the method returns a collection of elements, where the value of the name or id property for each element is equal to the string.
pvarResult
Address of a variable that receives an element object or a collection of element objects if successful, or null otherwise.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.