applyElement method

[This documentation is preliminary and is subject to change.]

Makes the element either a child or parent of another element.

Syntax


IHTMLElement retVal = object.applyElement(apply, where);

Standards information

There are no standards that apply here.

Parameters

apply [in]

Type: IHTMLElement

A pointer to an IHTMLElement interface that becomes the child or parent of the current element.
where [in, optional]

Type: BSTR

A BSTR that specifies one of the following values.

outside

Default. Specified element becomes a parent of the current element.

inside

Specified element becomes a child of the current element, but contains all the child elements of the current element.

See also

Reference
IHTMLElement2::getAdjacentText
IHTMLElement2::insertAdjacentElement
IHTMLElement2::replaceAdjacentText
Conceptual
About the W3C Document Object Model

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft