Method SetAttribute
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Core.dll
SetAttribute(string, string)
Sets the value of the attribute with the specified name.
void SetAttribute(string name, string value)
Parameters
name
stringThe name of the attribute to create or alter. This is a qualified name. If the name contains a colon it is parsed into prefix and local name components.
value
stringThe value to set for the attribute.
SetAttribute(string, string, string)
Sets the value of the attribute with the specified local name and namespace URI.
string SetAttribute(string qualifiedName, string namespaceURI, string value)
Parameters
qualifiedName
stringThe local name of the attribute.
namespaceURI
stringThe namespace URI of the attribute.
value
stringThe value to set for the attribute.
Returns
- string
The attribute value.