DOMAttributeMap.SetNamedItem

Syntax:

SetNamedItem(<Attribute>)

Parameters:

<Attribute> (required)

Type: DOMAttribute.
DOM attribute.

Returned value:

Type: DOMAttribute.

Description:

Use it to set DOM attribute to a collection using local name and namespace URI of attribute node as a key. If the collection has an attribute with the same local name and namespace URI, it is replaced and returned as a returned value.

Availability:

Server, thick client, external connection, Mobile application (server).

    

1C:Enterprise Developer's Community