Language

MockCursor.Count Property

Definition

Returns the numbers of rows in the cursor.

public virtual int Count { [Android.Runtime.Register("getCount", "()I", "GetGetCountHandler")] get; }
[<get: Android.Runtime.Register("getCount", "()I", "GetGetCountHandler")>]
member this.Count : int

Property Value

No value is provided by the default mock. Its getter throws UnsupportedOperationException; override this property to supply a row 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