Insert Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Insert node at index

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public void Insert(
	int index,
	HtmlNode node
)
Visual Basic
Public Sub Insert ( _
	index As Integer, _
	node As HtmlNode _
)
Visual C++
public:
virtual void Insert(
	int index, 
	HtmlNode^ node
) sealed

Parameters

index
Type: System..::..Int32

[Missing <param name="index"/> documentation for "M:HtmlAgilityPack.HtmlNodeCollection.Insert(System.Int32,HtmlAgilityPack.HtmlNode)"]

node
Type: HtmlAgilityPack..::..HtmlNode

[Missing <param name="node"/> documentation for "M:HtmlAgilityPack.HtmlNodeCollection.Insert(System.Int32,HtmlAgilityPack.HtmlNode)"]

Implements

IList<(Of <(<'T>)>)>..::..Insert(Int32, T)

See Also