Click or drag to resize

HtmlNodeReplaceChild Method

Replaces the child node oldChild with newChild node.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax
public HtmlNode ReplaceChild(
	HtmlNode newChild,
	HtmlNode oldChild
)

Parameters

newChild
Type: WorkflowGen.My.HtmlAgilityPackHtmlNode
The new node to put in the child list.
oldChild
Type: WorkflowGen.My.HtmlAgilityPackHtmlNode
The node being replaced in the list.

Return Value

Type: HtmlNode
The node replaced.
See Also