Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  AppendChild(element)
element class : AppendChild(element) method

Description

Appends an element as a last child to the element.

Syntax

elementInstance.AppendChild(element targetElement)

Arguments

ClassNameDescription
elementtargetElementThe element that is appended.

Return value

None

Sample code

//anyElement and targetElement are any instance of element type.

anyElement.AppendChild(targetElement);

Notes

It's a wrapper of the MSHTML.IHTMLDOMNode.appendChild(IHTMLDOMNode).

Please note that the return value is not.

Links for reference

Copyright © Rice All rights reserved.