Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Determines whether the given object is contained within the current object.
Syntax
HRESULT contains( IHTMLElement *pChild, VARIANT_BOOL *pfResult );
Parameters
- 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.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
IHTMLElement
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.