IAttributeList.GetName(Int32) Method

Definition

Caution

deprecated

Return the name of an attribute in this list (by position).

[Android.Runtime.Register("getName", "(I)Ljava/lang/String;", "GetGetName_IHandler:Org.Xml.Sax.IAttributeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public string? GetName (int i);
[<Android.Runtime.Register("getName", "(I)Ljava/lang/String;", "GetGetName_IHandler:Org.Xml.Sax.IAttributeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member GetName : int -> string

Parameters

i
Int32

The index of the attribute in the list (starting at 0).

Returns

The name of the indexed attribute, or null if the index is out of range.

Attributes

Remarks

Return the name of an attribute in this list (by position).

The names must be unique: the SAX parser shall not include the same attribute twice. Attributes without values (those declared #IMPLIED without a value specified in the start tag) will be omitted from the list.

If the attribute name has a namespace prefix, the prefix will still be attached.

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

See also