HtmlNodeCollectionFindMatchingAttributes Method
Return a list of attributes from the nodes in the caller's collection
that match the specified value.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static List<HtmlAttributeItem> FindMatchingAttributes(
HtmlNodeCollection nodes,
Func<HtmlAttributeItem, bool> match,
bool recurse = true
)
Public Shared Function FindMatchingAttributes (
nodes As HtmlNodeCollection,
match As Func(Of HtmlAttributeItem, Boolean),
Optional recurse As Boolean = true
) As List(Of HtmlAttributeItem)
No code example is currently available or this language may not be supported.
- nodes HtmlNodeCollection
-
Reference to the collection of nodes to be searched.
- match FuncHtmlAttributeItem, Boolean
-
Reference to the matching predicate.
- recurse Boolean (Optional)
-
Optional value indicating whether to recurse in levels. Default =
true.
ListHtmlAttributeItem
Reference to a list of attributes, if any matches were found.
Otherwise, an empty list.