Sdílet prostřednictvím


IAttributes.GetLocalName(Int32) Method

Definition

Look up an attribute's local name by index.

[Android.Runtime.Register("getLocalName", "(I)Ljava/lang/String;", "GetGetLocalName_IHandler:Org.Xml.Sax.IAttributesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetLocalName (int index);
[<Android.Runtime.Register("getLocalName", "(I)Ljava/lang/String;", "GetGetLocalName_IHandler:Org.Xml.Sax.IAttributesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetLocalName : int -> string

Parameters

index
Int32

The attribute index (zero-based).

Returns

The local name, or the empty string if Namespace processing is not being performed, or null if the index is out of range.

Attributes

Remarks

Look up an attribute's local name by index.

Java documentation for org.xml.sax.Attributes.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