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
)
Public Function InsertBefore (
newChild As HtmlNode,
refChild As HtmlNode
) As HtmlNode
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:
HtmlNodeThe node being inserted.
See Also