HtmlAttributeCollectionGetAttributes Method
Return a collection of attributes matching the specified names in
the provided node.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static List<HtmlAttributeItem> GetAttributes(
HtmlNodeItem node,
params string[] attributeNames
)
Public Shared Function GetAttributes (
node As HtmlNodeItem,
ParamArray attributeNames As String()
) As List(Of HtmlAttributeItem)
No code example is currently available or this language may not be supported.
- node HtmlNodeItem
-
Reference to the HTML node in which to search for the specified
attributes.
- attributeNames String
-
Array of attribute names to find.
ListHtmlAttributeItem
Reference to a list of attributes found in the provided node, if
found. Otherwise, an empty list.