Language

Driver.Length Property

Definition

Return the number of attributes in the list.

public virtual int Length { [Android.Runtime.Register("getLength", "()I", "GetGetLengthHandler")] get; }
[<get: Android.Runtime.Register("getLength", "()I", "GetGetLengthHandler")>]
member this.Length : int

Property Value

The parser's attribute count. Before input is set, the default Android parser returns 0. After input is set, it can return -1 for events other than start tags. For the end tag of an empty element, it can retain the start tag's attribute count. A wrapped XML reader supplies its own attribute count.

Implements

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