Creates an System.Xml.XmlAttribute object.
- prefix
- a string which becomes the prefix of the returned attribute.
- localName
- a string which becomes the local name of the returned attribute.
- namespaceURI
- a string which becomes the namespace URI of the returned attribute.
A new System.Xml.XmlAttribute instance whose XmlAttribute.OwnerDocument is this document.
Creates a new XmlAttribute instance with specified name components. localName must be a valid XML Name string.
If the prefix parameter is "xmlns" or localName is "xmlns" and the prefix is an empty string, then "http://www.w3.org/2000/xmlns/" is automatically supplied for namespace URI of the returned node. Similarly, "http://www.w3.org/XML/1998/namespace" is supplied if the prefix is "xml".
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0