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

Description

Removes the element from the document hierarchy.

Syntax

elementInstance.Remove()

Arguments

None

Return value

None

Sample code

//anyElement is any instance of element type.

anyElement.Remove();

Notes

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

If the invoker has children, it will be left in its original location.

Links for reference

Copyright © Rice All rights reserved.