IHTMLElement::containsIHTMLElement::contains*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLElement::scrollIntoView
*Next Topic: IHTMLElement::get_sourceIndex

IHTMLElement::contains


HRESULT contains(
    IHTMLElement *pChild,
    VARIANT_BOOL *pfResult
);

Determines whether the given object is contained within the current object.

pChild
Address of the IHTMLElement interface of the element object to check.
pfResult
Address of a Boolean variable that receives TRUE if the pChild element is contained, or FALSE otherwise.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.