Description
This will search though this collection of nodes for all tags with the an attribute with the given name.

Namespace: Docs.Html
Assembly: Docs.Html (in Docs.Html.dll) Version: 2.1.0.0 (2.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public HtmlNodeCollection FindByAttributeName(
	string attributeName,
	bool searchChildren
)
Public Function FindByAttributeName ( _
	attributeName As String, _
	searchChildren As Boolean _
) As HtmlNodeCollection
public:
HtmlNodeCollection^ FindByAttributeName(
	String^ attributeName, 
	bool searchChildren
)

Parameters

attributeName
String
The name of the attribute to find
searchChildren
Boolean
True if you want to search sub-nodes, False to only search this collection.

Return Value

A collection of all the nodes that macth.

See Also