Compartilhar via


INameList.GetName(Int32) Method

Definition

Returns the indexth name item in the collection.

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

Parameters

index
Int32

Index into the collection.

Returns

The name at the indexth position in the NameList, or null if there is no name for the specified index or if the index is out of range.

Attributes

Remarks

Returns the indexth name item in the collection.

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