Retrieves an element or a collection pointer in a RectCollection.
Syntax
HRESULT item( VARIANT *name, IDispatch **pdisp );
Parameters
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This function returns S_OK even if the element is not found. The developer should check the value of the pdisp pointer returned by this call. If the value of the pointer is NULL, the element was not found and the call was not successful.