IHTMLStyleSheetsCollection::itemIHTMLStyleSheetsCollection::item*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyleSheetsCollection::get__newEnum
*Next Topic: IHTMLTable

IHTMLStyleSheetsCollection::item


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

Retrieves an styleSheet element or a collection of styleSheets. The index determines which action to take.

pvarIndex
Address of a VARIANT structure 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 VARIANT structure 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.