IndexOf Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Retrieves the index for the supplied item, -1 if not found

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

Syntax

C#
public int IndexOf(
	HtmlAttribute item
)
Visual Basic
Public Function IndexOf ( _
	item As HtmlAttribute _
) As Integer
Visual C++
public:
virtual int IndexOf(
	HtmlAttribute^ item
) sealed

Parameters

item
Type: HtmlAgilityPack..::..HtmlAttribute

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

Return Value

Implements

IList<(Of <(<'T>)>)>..::..IndexOf(T)

See Also