HtmlAttributeCollectionGetAttributeValue Method
Return the value of the specified attribute from the provided node.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static string GetAttributeValue(
HtmlNodeItem node,
string attributeName
)
Public Shared Function GetAttributeValue (
node As HtmlNodeItem,
attributeName As String
) As String
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
attribute.
- attributeName String
-
Name of the attribute to find.
String
Value of the specified attribute, if found. Otherwise, an empty string.