Retrieves an object from an areas collection.
HRESULT namedItem( BSTR name, IDispatch **pdisp );
Returns S_OK if successful, or an error value otherwise.
This method first searches for an object with a matching id attribute. If a match is not found, then the method searches for an object with a matching name attribute, but only on those elements that are allowed a name attribute.
Windows Internet Explorer 8 and later. In IE8 Standards mode, the IHTMLAreasCollection3::namedItem method does not return collections if more than one named item is found; instead, it returns the first case-insensitive matched element. For more information on IE8 mode, see Defining Document Compatibility.
The IHTMLAreasCollection3::namedItem method was introduced in Microsoft Internet Explorer 6