INamedNodeMap.RemoveNamedItemNS(String, String) Method

Definition

Removes a node specified by local name and namespace URI.

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

Parameters

namespaceURI
String

The namespace URI of the node to remove.

localName
String

The local name of the node to remove.

Returns

INode

The node removed from this map if a node with such a local name and namespace URI exists.

Attributes

Exceptions

NOT_FOUND_ERR: Raised if there is no node with the specified namespaceURI and localName in this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
NOT_SUPPORTED_ERR: May be raised if the implementation does not support the feature "XML" and the language exposed through the Document does not support XML Namespaces (such as []).

Remarks

Java documentation for org.w3c.dom.NamedNodeMap.removeNamedItemNS(java.lang.String, 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