Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

item method

Retrieves an object from a controlRange collection.

Syntax

var retval = controlRange.item(index);

Parameters

index [in]

Type: Integer

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

Return value

Type: IHTMLElement

Returns an element object if successful, otherwise null.

Standards information

There are no standards that apply here.

Remarks

Note   if given a string that is not a numeric index, this method will return the object at index 0.

This method 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.

See also

controlRange

 

 

Show:
© 2015 Microsoft