Share via


IFrameElement.contains Method

SharePoint Designer Developer Reference

Returns a Boolean that represents whether an element is contained within another element. True indicates that the element specified in the pChild parameter is contained within an IFRAME element.

Syntax

expression.contains(pChild)

expression   Required. A variable that represents an IFrameElement object.

Parameters

Name Required/Optional Data Type Description
pChild Required IHTMLElement The child element contained within the specified object.

Remarks

Use the contains method to quickly determine whether an element is contained within another element.

See Also