HtmlNodeItemFindAttribute(HtmlNodeItem, String, String) Method

Return Nodes by specified Attributes.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static HtmlNodeItem[] FindAttribute(
	HtmlNodeItem baseNode,
	string expression,
	string[] attributeNames
)

Parameters

baseNode  HtmlNodeItem
Base node at which to begin the search.
expression  String
Regular expression used to find the text.
attributeNames  String
Array of Attribute Names to search for.

Return Value

HtmlNodeItem
Array of Nodes matching the Expression, if found. Otherwise, zero length array.

See Also