IElement.GetElementsByTagName(String) Method

Definition

Returns a NodeList of all descendant Elements with a given tag name, in document order.

[Android.Runtime.Register("getElementsByTagName", "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;", "GetGetElementsByTagName_Ljava_lang_String_Handler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.INodeList? GetElementsByTagName (string? name);
[<Android.Runtime.Register("getElementsByTagName", "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;", "GetGetElementsByTagName_Ljava_lang_String_Handler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetElementsByTagName : string -> Org.W3c.Dom.INodeList

Parameters

name
String

The name of the tag to match on. The special value "*" matches all tags.

Returns

A list of matching Element nodes.

Attributes

Remarks

Returns a NodeList of all descendant Elements with a given tag name, in document order.

Java documentation for org.w3c.dom.Element.getElementsByTagName(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