item method

Retrieves an object from the pages collection.

Syntax

var retval = pages.item(index);

Parameters

index [in]

Type: Integer

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

Return value

Type: IHTMLStyleSheetPage

Returns an object if successful, or null otherwise.

Standards information

There are no standards that apply here.

Remarks

This function returns S_OK even if the element is not found. The programmer should check the value of the ppHTMLStyleSheetPage 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

pages

 

 

Show:
© 2014 Microsoft