IHTMLFontNamesCollection::itemIHTMLFontNamesCollection::item*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLFontNamesCollection::get__newEnum
*Next Topic: IHTMLFontSizesCollection

IHTMLFontNamesCollection::item


HRESULT item(
    long index, 
    BSTR *pBstr
);

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

index
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.
pBstr
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.