A Sandcastle Documented Class Library |
HtmlNode..::..RemoveChild Method (HtmlNode, Boolean) |
HtmlNode Class See Also Send Feedback |
Removes the specified child node.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public HtmlNode RemoveChild( HtmlNode oldChild, bool keepGrandChildren ) |
Visual Basic |
---|
Public Function RemoveChild ( _ oldChild As HtmlNode, _ keepGrandChildren As Boolean _ ) As HtmlNode |
Visual C++ |
---|
public: HtmlNode^ RemoveChild( HtmlNode^ oldChild, bool keepGrandChildren ) |
Parameters
- oldChild
- Type: HtmlAgilityPack..::..HtmlNode
The node being removed. May not be null.
- keepGrandChildren
- Type: System..::..Boolean
true to keep grand children of the node, false otherwise.