Checks whether the given element is contained within the object.
HRESULT contains( IHTMLElement *pChild, VARIANT_BOOL *pfResult );
- [in] Pointer to an IHTMLElement interface that specifies the element to check.
- [out, retval] Pointer to a VARIANT_BOOL that receives one of the following possible values:
- The element is contained within the object.
- The element is not contained within the object.
Returns S_OK if successful, or an error value otherwise.