Android.Util.Xml.AsAttributeSet Method
Return an AttributeSet interface for use with the given XmlPullParser.

Syntax

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

See Also

IAttributeSet

Parameters

parser
The existing parser for which you would like an AttributeSet.

Returns

Documentation for this section has not yet been entered.

Remarks

Return an AttributeSet interface for use with the given XmlPullParser. If the given parser itself implements AttributeSet, that implementation is simply returned. Otherwise a wrapper class is instantiated on top of the XmlPullParser, as a proxy for retrieving its attributes, and returned to you.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1