item (rules)
Collapse the table of content
Expand the table of content

item method

Retrieves an object from the rules collection.


IHTMLStyleSheetRule retVal = object.item(index);


index [in]

Type: long

long that specifies the zero-based index of the object to retrieve.

Standards information

There are no standards that apply here.


This function returns an S_OK even if the element is not found. The programmer should check the value of the ppHTMLStyleSheetRule pointer returned by this call. If the value of the pointer is NULL, the element was not found and the call was not successful.



Community Additions

© 2015 Microsoft