Bagikan melalui


INamedNodeMap.GetNamedItem(String) Method

Definition

Retrieves a node specified by name.

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

Parameters

name
String

The nodeName of a node to retrieve.

Returns

A Node (of any type) with the specified nodeName, or null if it does not identify any node in this map.

Attributes

Remarks

Retrieves a node specified by name.

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