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.0.6.0 (8.0.6.20210916)
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