Removes the specified XmlAttribute.
[Visual Basic] Overloads Overridable Public Function RemoveAttributeNode( _ ByVal oldAttr As XmlAttribute _ ) As XmlAttribute [C#] public virtual XmlAttribute RemoveAttributeNode( XmlAttribute oldAttr ); [C++] public: virtual XmlAttribute* RemoveAttributeNode( XmlAttribute* oldAttr ); [JScript] public function RemoveAttributeNode( oldAttr : XmlAttribute ) : 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