NamedNodeMapSetNamedItemNS 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.
Namespace: Aspose.Html.CollectionsAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.2
Syntaxpublic Attr SetNamedItemNS(
Attr attr
)
Public Function SetNamedItemNS (
attr As Attr
) As Attr
public:
Attr^ SetNamedItemNS(
Attr^ attr
)
member SetNamedItemNS :
attr : Attr -> Attr
Parameters
- attr
- Type: Aspose.Html.DomAttr
The attribute.
Return Value
Type:
Attr
Returns node.
Exceptions
See Also