Insert Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Inserts given item into collection at supplied index

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

Syntax

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

Parameters

index
Type: System..::..Int32

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

item
Type: HtmlAgilityPack..::..HtmlAttribute

[Missing <param name="item"/> documentation for "M:HtmlAgilityPack.HtmlAttributeCollection.Insert(System.Int32,HtmlAgilityPack.HtmlAttribute)"]

Implements

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

See Also