Driver.GetLocalName(Int32) Method

Definition

Look up an attribute's local name by index.

[Android.Runtime.Register("getLocalName", "(I)Ljava/lang/String;", "GetGetLocalName_IHandler")]
public virtual string? GetLocalName(int index);
[<Android.Runtime.Register("getLocalName", "(I)Ljava/lang/String;", "GetGetLocalName_IHandler")>]
abstract member GetLocalName : int -> string
override this.GetLocalName : int -> string

Parameters

index
Int32

The zero-based attribute index.

Returns

The local name when namespaces are enabled; otherwise, the attribute name. This value is never null.

Implements

Attributes

Exceptions

The index is out of range or the current event is not a start tag.

Remarks

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