Share via


IDOMStringList.Item(Int32) Method

Definition

Returns the indexth item in the collection.

[Android.Runtime.Register("item", "(I)Ljava/lang/String;", "GetItem_IHandler:Org.W3c.Dom.IDOMStringListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? Item (int index);
[<Android.Runtime.Register("item", "(I)Ljava/lang/String;", "GetItem_IHandler:Org.W3c.Dom.IDOMStringListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Item : int -> string

Parameters

index
Int32

Index into the collection.

Returns

The DOMString at the indexth position in the DOMStringList, 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 DOMStrings in the list, this returns null.

Java documentation for org.w3c.dom.DOMStringList.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