item method (Internet Explorer)

Switch View :
ScriptFree
item method

[This documentation is preliminary and is subject to change.]

Retrieves an object from the rules collection.

Syntax

var retval = rules.item(index);

Standards information

There are no standards that apply here.

Parameters

index [in]

Type: long

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

Return value

Type: IHTMLStyleSheetRulerule object if successful, otherwise null.

Remarks

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.

 

 

Build date: 3/14/2012