AttributesWithName Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Returns all attributes with specified name. Handles case insentivity

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

Syntax

C#
public IEnumerable<HtmlAttribute> AttributesWithName(
	string attributeName
)
Visual Basic
Public Function AttributesWithName ( _
	attributeName As String _
) As IEnumerable(Of HtmlAttribute)
Visual C++
public:
IEnumerable<HtmlAttribute^>^ AttributesWithName(
	String^ attributeName
)

Parameters

attributeName
Type: System..::..String
Name of the attribute

Return Value

See Also