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