HtmlNodeRemoveChild Method (HtmlNode, Boolean) |
Removes the specified child node.
Namespace:
WorkflowGen.My.HtmlAgilityPack
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntax public HtmlNode RemoveChild(
HtmlNode oldChild,
bool keepGrandChildren
)
Public Function RemoveChild (
oldChild As HtmlNode,
keepGrandChildren As Boolean
) As HtmlNode
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:
HtmlNodeThe node removed.
See Also