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: 8.3.3.0 (8.3.3.20240926)
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