HtmlNodeCollectionGetNodesWithAttribute(HtmlNodeCollection, String) Method
Return an array of nodes having the specified Attribute.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static HtmlNodeItem[] GetNodesWithAttribute(
HtmlNodeCollection nodes,
string attributeName
)
Public Shared Function GetNodesWithAttribute (
nodes As HtmlNodeCollection,
attributeName As String
) As HtmlNodeItem()
No code example is currently available or this language may not be supported.
- nodes HtmlNodeCollection
-
Collection of Nodes in which to search.
- attributeName String
-
Name of the attribute to search for.
HtmlNodeItem
Array of Nodes containing the specified Attribute, if found. Otherwise,
a zero length array.