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