IElement.GetElementsByTagNameNS(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a NodeList
of all the descendant
Elements
with a given local name and namespace URI in
document order.
[Android.Runtime.Register("getElementsByTagNameNS", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;", "GetGetElementsByTagNameNS_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.INodeList? GetElementsByTagNameNS (string? namespaceURI, string? localName);
[<Android.Runtime.Register("getElementsByTagNameNS", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;", "GetGetElementsByTagNameNS_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetElementsByTagNameNS : string * string -> Org.W3c.Dom.INodeList
Parameters
- namespaceURI
- String
The namespace URI of the elements to match on. The special value "*" matches all namespaces.
- localName
- String
The local name of the elements to match on. The special value "*" matches all local names.
Returns
A new NodeList
object containing all the matched
Elements
.
- Attributes
Exceptions
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
Returns a NodeList
of all the descendant Elements
with a given local name and namespace URI in document order.
Added in DOM Level 2.
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.