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.0.3.0 (9.0.3.20240719)
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