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: 4.7.2.0 (4.7.2.0)
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