IAttributeSet.GetAttributeName(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the name of the specified attribute.
[Android.Runtime.Register("getAttributeName", "(I)Ljava/lang/String;", "GetGetAttributeName_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetAttributeName (int index);
[<Android.Runtime.Register("getAttributeName", "(I)Ljava/lang/String;", "GetGetAttributeName_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeName : int -> string
Parameters
- index
- Int32
Index of the desired attribute, 0...count-1.
Returns
A String containing the name of the attribute, or null if the attribute cannot be found.
- Attributes
Remarks
Returns the name of the specified attribute.
See also XmlPullParser#getAttributeName XmlPullParser.getAttributeName()
, which this method corresponds to when parsing a compiled XML file.
Java documentation for android.util.AttributeSet.getAttributeName(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.