Removes an attribute specified by LocalName and NamespaceURI.
[Visual Basic] Overloads Overridable Public Sub RemoveAttribute( _ ByVal localName As String, _ ByVal namespaceURI As String _ ) [C#] public virtual void RemoveAttribute( string localName, string namespaceURI ); [C++] public: virtual void RemoveAttribute( String* localName, String* namespaceURI ); [JScript] public function RemoveAttribute( localName : String, namespaceURI : String );
Exception Type | Condition |
---|---|
NO_MODIFICATION_ALLOWED_ERR | The node is read-only. |
XmlElement Class | XmlElement Members | System.NewXml Namespace | XmlElement.RemoveAttribute Overload List