System::Xml::XmlElement::RemoveAttribute method

XmlElement::RemoveAttribute(String) method

Removes an attribute by name.

virtual void System::Xml::XmlElement::RemoveAttribute(String name)
ParameterTypeDescription
nameStringThe name of the attribute to remove. This is a qualified name. It is matched against the get_Name value of the matching node.

See Also

XmlElement::RemoveAttribute(String, String) method

Removes an attribute with the specified local name and namespace URI. (If the removed attribute has a default value, it is immediately replaced).

virtual void System::Xml::XmlElement::RemoveAttribute(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the attribute to remove.
namespaceURIStringThe namespace URI of the attribute to remove.

See Also