IElement.GetAttributeNode(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.
Retrieves an attribute node by name.
[Android.Runtime.Register("getAttributeNode", "(Ljava/lang/String;)Lorg/w3c/dom/Attr;", "GetGetAttributeNode_Ljava_lang_String_Handler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.IAttr? GetAttributeNode (string? name);
[<Android.Runtime.Register("getAttributeNode", "(Ljava/lang/String;)Lorg/w3c/dom/Attr;", "GetGetAttributeNode_Ljava_lang_String_Handler:Org.W3c.Dom.IElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeNode : string -> Org.W3c.Dom.IAttr
Parameters
- name
- String
The name (nodeName
) of the attribute to
retrieve.
Returns
The Attr
node with the specified name (
nodeName
) or null
if there is no such
attribute.
- Attributes
Remarks
Retrieves an attribute node by name. <br>To retrieve an attribute node by qualified name and namespace URI, use the getAttributeNodeNS
method.
Java documentation for org.w3c.dom.Element.getAttributeNode(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.