A Sandcastle Documented Class Library |
HtmlNode..::..InsertBefore Method |
HtmlNode Class See Also Send Feedback |
Inserts the specified node immediately before the specified reference node.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public HtmlNode InsertBefore( HtmlNode newChild, HtmlNode refChild ) |
Visual Basic |
---|
Public Function InsertBefore ( _ newChild As HtmlNode, _ refChild As HtmlNode _ ) As HtmlNode |
Visual C++ |
---|
public: HtmlNode^ InsertBefore( HtmlNode^ newChild, HtmlNode^ refChild ) |
Parameters
- newChild
- Type: HtmlAgilityPack..::..HtmlNode
The node to insert. May not be null.
- refChild
- Type: HtmlAgilityPack..::..HtmlNode
The node that is the reference node. The newChild is placed before this node.