Share via


FrameElement.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 a FRAME element.

Syntax

expression.contains(pChild)

expression   Required. A variable that represents a FrameElement 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