Click or drag to resize

HtmlNodeRemoveChild Method (HtmlNode, Boolean)

Removes the specified child node.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.0.6.0 (8.0.6.20210916)
Syntax
public HtmlNode RemoveChild(
	HtmlNode oldChild,
	bool keepGrandChildren
)

Parameters

oldChild
Type: WorkflowGen.My.HtmlAgilityPackHtmlNode
The node being removed. May not be null.
keepGrandChildren
Type: SystemBoolean
true to keep grand children of the node, false otherwise.

Return Value

Type: HtmlNode
The node removed.
See Also