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: 8.3.3.0 (8.3.3.20240926)
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