Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

item method

Retrieves an object from the rules collection.


var retval = rules.item(index);


index [in]

Type: Integer

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

Return value

Type: IHTMLStyleSheetRule

rule object if successful, otherwise null.

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.

See also




Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.