NamedNodeMap.SetNamedItem
NamedNodeMap.SetNamedItem method
Adds a node using its nodeName attribute. If a node with that name is already present in this map, it is replaced by the new one. Replacing a node by itself has no effect.
public Attr SetNamedItem(Attr attr)
Parameter | Type | Description |
---|---|---|
attr | Attr | The attribute. |
Return Value
Returns node.
Exceptions
exception | condition |
---|---|
dOMException |
See Also
- class Attr
- class NamedNodeMap
- package com.aspose.html.Collections
- package Aspose.HTML