SetAttributeNodeNS

Element.SetAttributeNodeNS method

Adds a new attribute. If an attribute with that local name and that namespace URI is already present in the element, it is replaced by the new one.

public Attr SetAttributeNodeNS(Attr newAttr)
Parameter Type Description
newAttr Attr The new attr.

Return Value

Returns attribute

See Also