Click or drag to resize

HtmlNodeInsertBefore Method

Inserts the specified node immediately before the specified reference node.

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

Parameters

newChild
Type: WorkflowGen.My.HtmlAgilityPackHtmlNode
The node to insert. May not be null.
refChild
Type: WorkflowGen.My.HtmlAgilityPackHtmlNode
The node that is the reference node. The newChild is placed before this node.

Return Value

Type: HtmlNode
The node being inserted.
See Also