Share via


INamedNodeMap.RemoveNamedItem(String) Method

Definition

Removes a node specified by name.

[Android.Runtime.Register("removeNamedItem", "(Ljava/lang/String;)Lorg/w3c/dom/Node;", "GetRemoveNamedItem_Ljava_lang_String_Handler:Org.W3c.Dom.INamedNodeMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.INode? RemoveNamedItem (string? name);
[<Android.Runtime.Register("removeNamedItem", "(Ljava/lang/String;)Lorg/w3c/dom/Node;", "GetRemoveNamedItem_Ljava_lang_String_Handler:Org.W3c.Dom.INamedNodeMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveNamedItem : string -> Org.W3c.Dom.INode

Parameters

name
String

The nodeName of the node to remove.

Returns

The node removed from this map if a node with such a name exists.

Attributes

Exceptions

NOT_FOUND_ERR: Raised if there is no node named name in this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.

Remarks

Removes a node specified by name. When this map contains the attributes attached to an element, if the removed attribute is known to have a default value, an attribute immediately appears containing the default value as well as the corresponding namespace URI, local name, and prefix when applicable.

Java documentation for org.w3c.dom.NamedNodeMap.removeNamedItem(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to