Removes the XmlAttribute specified by LocalName and NamespaceURI.
[Visual Basic] Overloads Overridable Public Function RemoveAttributeNode( _ ByVal localName As String, _ ByVal namespaceURI As String _ ) As XmlAttribute [C#] public virtual XmlAttribute RemoveAttributeNode( string localName, string namespaceURI ); [C++] public: virtual XmlAttribute* RemoveAttributeNode( String* localName, String* namespaceURI ); [JScript] public function RemoveAttributeNode( localName : String, namespaceURI : String ) : XmlAttribute;
The removed XmlAttribute.
Exception Type | Condition |
---|---|
NO_MODIFICATION_ALLOWED_ERR | This node is read-only. |
NOT_FOUND_ERR | The oldAttr is not an attribute of the element. |
XmlElement Class | XmlElement Members | System.NewXml Namespace | XmlElement.RemoveAttributeNode Overload List