TDOMNamedNodeMap.RemoveNamedItem function
Removes the node with the specified name.
Declaration
function RemoveNamedItem(const name: DOMString): TDOMNodeArguments
name | Name for the DOM node removed in the method. |
Function result
The DOM node removed in the method.
Description
RemoveNamedItem is a
TDOMNode function used to remove
the node with the name specified in the
name argument.
RemoveNamedItem calls the
InternalRemove method to locate and
remove the node from the map, and possibly restore the default value for a
DOM Attribute node.
The return value contains the DOM node removed from the SortedItem
property.
Errors
- EDOMError
- Raised with the error constant NO_MODIFICATION_ALLOWED_ERR when the Owner is marked as read-only.
- EDOMNotFound
- Raised if a node with the specified name is not found in the node map.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
