item method

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

Retrieves an object from a childNodes or StaticNodeList collection.

Syntax

IDispatch retVal = object.item(index);

Standards information

There are no standards that apply here.

Parameters

  • index [in]
    Type: long

    An long that specifies the zero-based index of the item to get.

Remarks

To This function returns S_OK even if the element is not found. Check the value of the IDispatch pointer returned by this call. If the value of the pointer is NULL, the element was not found, and the call was not successful.

Items in a StaticNodeList are not changed when the Document Object Model (DOM) changes. Nodes may be removed from the document, but still remain in the StaticNodeList collection.

 

 

Build date: 6/12/2012