Share via


INodeList.Item(Int32) Method

Definition

Returns the indexth item in the collection.

[Android.Runtime.Register("item", "(I)Lorg/w3c/dom/Node;", "GetItem_IHandler:Org.W3c.Dom.INodeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.INode? Item (int index);
[<Android.Runtime.Register("item", "(I)Lorg/w3c/dom/Node;", "GetItem_IHandler:Org.W3c.Dom.INodeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Item : int -> Org.W3c.Dom.INode

Parameters

index
Int32

Index into the collection.

Returns

The node at the indexth position in the NodeList, or null if that is not a valid index.

Attributes

Remarks

Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.

Java documentation for org.w3c.dom.NodeList.item(int).

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