Språk

IXmlPullParser.AttributeCount Property

Definition

Returns the number of attributes of the current start tag, or the parser's value for other events.

public int AttributeCount { [Android.Runtime.Register("getAttributeCount", "()I", "GetGetAttributeCountHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getAttributeCount", "()I", "GetGetAttributeCountHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.AttributeCount : int

Property Value

The number of attributes on the current start tag, or -1 if the current event is not StartTag, under the XML pull-parser contract. XmlReaderPullParser instead returns the wrapped reader's attribute count.

Attributes

Remarks

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