Click or drag to resize

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: 4.3.0.0 (4.3.0.0)
Syntax
public HtmlAttribute SetAttributeValue(
	string name,
	string value
)

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: HtmlAttribute
The corresponding attribute instance.
See Also