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