HtmlNodeCollectionGetNodesWithAttribute(HtmlNodeItem, String) Method

Return an array of nodes having the specified Attribute.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static HtmlNodeItem[] GetNodesWithAttribute(
	HtmlNodeItem node,
	string attributeName
)

Parameters

node  HtmlNodeItem
Node in which search will begin.
attributeName  String
Name of the attribute to search for.

Return Value

HtmlNodeItem
Array of Nodes containing the specified Attribute, if found. Otherwise, a zero length array.

See Also