Xml.AsAttributeSet(XmlReader) Method

Definition

Return an AttributeSet interface for use with the given XmlPullParser.

[Android.Runtime.Register("asAttributeSet", "(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet;", "")]
public static Android.Util.IAttributeSet? AsAttributeSet (System.Xml.XmlReader? parser);
[<Android.Runtime.Register("asAttributeSet", "(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet;", "")>]
static member AsAttributeSet : System.Xml.XmlReader -> Android.Util.IAttributeSet

Parameters

parser
XmlReader

The existing parser for which you would like an AttributeSet.

Returns

IAttributeSet

An AttributeSet you can use to retrieve the attribute values at each of the tags as the parser moves through its XML document.

Attributes

Remarks

Java documentation for android.util.Xml.asAttributeSet(org.xmlpull.v1.XmlPullParser).

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