The methods of Android.Database.ICursor are listed below. For a list of all members, see the ICursor Members list.
Close()Closes the Cursor, releasing all of its resources and making it completely invalid. | ||
CopyStringToBuffer(int, CharArrayBuffer)Retrieves the requested column text and stores it in the buffer provided. | ||
Deactivate()Deactivates the Cursor, making all calls on it fail until ICursor.Requery is called. | ||
GetBlob(int)Returns the value of the requested column as a byte array. | ||
GetColumnIndex(string)Returns the zero-based index for the given column name, or -1 if the column doesn't exist. | ||
GetColumnIndexOrThrow(string)Returns the zero-based index for the given column name, or throws Java.Lang.IllegalArgumentException if the column doesn't exist. | ||
GetColumnName(int)Returns the column name at the given zero-based column index. | ||
GetColumnNames()Returns a string array holding the names of all of the columns in the result set in the order in which they were listed in the result. | ||
GetDouble(int)Returns the value of the requested column as a double. | ||
GetFloat(int)Returns the value of the requested column as a float. | ||
GetInt(int)Returns the value of the requested column as an int. | ||
GetLong(int)Returns the value of the requested column as a long. | ||
GetShort(int)Returns the value of the requested column as a short. | ||
GetString(int)Returns the value of the requested column as a String. | ||
GetType(int)Returns data type of the given column's value. | ||
IsNull(int)Returns true if the value in the indicated column is null. | ||
Move(int)Move the cursor by a relative amount, forward or backward, from the current position. | ||
MoveToFirst()Move the cursor to the first row. | ||
MoveToLast()Move the cursor to the last row. | ||
MoveToNext()Move the cursor to the next row. | ||
MoveToPosition(int)Move the cursor to an absolute position. | ||
MoveToPrevious()Move the cursor to the previous row. | ||
RegisterContentObserver(ContentObserver)Register an observer that is called when changes happen to the content backing this cursor. | ||
RegisterDataSetObserver(DataSetObserver)Register an observer that is called when changes happen to the contents of the this cursors data set, for example, when the data set is changed via ICursor.Requery, ICursor.Deactivate, or ICursor.Close. | ||
Requery()Performs the query that created the cursor again, refreshing its contents. | ||
Respond(Android.OS.Bundle)This is an out-of-band way for the the user of a cursor to communicate with the cursor. | ||
SetNotificationUri(Android.Content.ContentResolver, Android.Net.Uri)Register to watch a content URI for changes. | ||
UnregisterContentObserver(ContentObserver)Unregister an observer that has previously been registered with this cursor via ICursor.RegisterContentObserver(ContentObserver). | ||
UnregisterDataSetObserver(DataSetObserver)Unregister an observer that has previously been registered with this cursor via ICursor.RegisterContentObserver(ContentObserver). |