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
namestringThe 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.
valuestringThe 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
qualifiedNamestringThe local name of the attribute.
namespaceURIstringThe namespace URI of the attribute.
valuestringThe value to set for the attribute.
Returns
- string
The attribute value.