Method CreateAttribute
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Dom.dll
CreateAttribute(string, string, string)
Creates an XmlAttribute with the specified Prefix, LocalName, and NamespaceURI.
public override XmlAttribute CreateAttribute(string prefix, string localName, string namespaceURI)
Parameters
prefixstringThe prefix of the attribute (if any). String.Empty and null are equivalent.
localNamestringThe local name of the attribute.
namespaceURIstringThe namespace URI of the attribute (if any). String.Empty and null are equivalent. If
prefixis xmlns, then this parameter must be http://www.w3.org/2000/xmlns/; otherwise an exception is thrown.
Returns
- XmlAttribute
The new XmlAttribute.