다음을 통해 공유


AttributesImpl.GetLocalName(Int32) Method

Definition

Return an attribute's local name.

[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 attribute's index (zero-based).

Returns

The attribute's local name, the empty string if none is available, or null if the index if out of range.

Implements

Attributes

Remarks

Return an attribute's local name.

Java documentation for org.xml.sax.helpers.AttributesImpl.getLocalName(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

See also