Element.SetAttributeNodeNS
Element.SetAttributeNodeNS method
Adds a new attribute. If an attribute with that local name and that package 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
- class Attr
- class Element
- package com.aspose.html.Dom
- package Aspose.HTML