RemoveAttributeNS

Element.RemoveAttributeNS method

Removes an attribute by local name and namespace URI.

public bool RemoveAttributeNS(string namespaceURI, string localName)
ParameterTypeDescription
namespaceURIStringThe attribute namespace URI.
localNameStringThe attribute local name.

Return Value

True if find and remove the attribute, otherwise false.

See Also