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
- namestring
- The 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. 
- valuestring
- The 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
- qualifiedNamestring
- The local name of the attribute. 
- namespaceURIstring
- The namespace URI of the attribute. 
- valuestring
- The value to set for the attribute. 
Returns
- string
- The attribute value.