NamedNodeMap.SetNamedItemNS
NamedNodeMap.SetNamedItemNS method
Adds a node using its namespaceURI and localName. If a node with that namespace URI and that local name is already present in this map, it is replaced by the new one. Replacing a node by itself has no effect.
public Attr SetNamedItemNS(Attr attr)
| Parameter | Type | Description | 
|---|---|---|
| attr | Attr | The attribute. | 
Return Value
Returns node.
Exceptions
| exception | condition | 
|---|---|
| DOMException | 
See Also
- class Attr
 - class NamedNodeMap
 - namespace Aspose.Html.Collections
 - assembly Aspose.HTML