HtmlNodeSetAttributeValue Method |
Helper method to set the value of an attribute of this node. If the attribute is not found, it will be created automatically.
Namespace:
WorkflowGen.My.HtmlAgilityPack
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax public HtmlAttribute SetAttributeValue(
string name,
string value
)
Public Function SetAttributeValue (
name As String,
value As String
) As HtmlAttribute
Parameters
- name
- Type: SystemString
The name of the attribute to set. May not be null. - value
- Type: SystemString
The value for the attribute.
Return Value
Type:
HtmlAttributeThe corresponding attribute instance.
See Also