Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

item method

Retrieves an object from the behaviorUrns collection.

Syntax


 retVal = object.item(index);

Parameters

index [in]

Type: long

long variable that specifies the element or collection to retrieve. If this parameter is a number, the method returns the element in the collection at the given position, where the first element has value 0, the second has 1, and so on. If this parameter is a string, the method returns a collection of elements, where the value of the IHTMLDOMAttribute2::name or IHTMLElement::id property for each element is equal to the string.

Standards information

There are no standards that apply here.

Remarks

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.