HtmlAttributeCollectionSetAttributeValue Method
Set the value of the specified attribute from the provided node,
creating it if it didn't already exist.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static void SetAttributeValue(
HtmlNodeItem node,
string attributeName,
string attributeValue
)
Public Shared Sub SetAttributeValue (
node As HtmlNodeItem,
attributeName As String,
attributeValue As String
)
No code example is currently available or this language may not be supported.
Parameters
- node HtmlNodeItem
-
Reference to the HTML node in which to search for the specified
attribute.
- attributeName String
-
Name of the attribute to find.
- attributeValue String
-
The value to place in the attribute.