IDocument.GetElementsByTagName(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 Elements
in
document order with a given tag name and are contained in the
document.
[Android.Runtime.Register("getElementsByTagName", "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;", "GetGetElementsByTagName_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.INodeList? GetElementsByTagName (string? tagname);
[<Android.Runtime.Register("getElementsByTagName", "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;", "GetGetElementsByTagName_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetElementsByTagName : string -> Org.W3c.Dom.INodeList
Parameters
- tagname
- String
The name of the tag to match on. The special value "*"
matches all tags. For XML, the tagname
parameter is
case-sensitive, otherwise it depends on the case-sensitivity of the
markup language in use.
Returns
A new NodeList
object containing all the matched
Elements
.
- Attributes
Remarks
Returns a NodeList
of all the Elements
in document order with a given tag name and are contained in the document.
Java documentation for org.w3c.dom.Document.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.