SQLiteCursor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SQLiteCursor(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
SQLiteCursor(ISQLiteCursorDriver, String, SQLiteQuery) |
Execute a query and provide access to its result set through a Cursor interface. |
SQLiteCursor(SQLiteDatabase, ISQLiteCursorDriver, String, SQLiteQuery) |
Obsolete.
Execute a query and provide access to its result set through a Cursor interface. |
SQLiteCursor(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected SQLiteCursor (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Database.Sqlite.SQLiteCursor : nativeint * Android.Runtime.JniHandleOwnership -> Android.Database.Sqlite.SQLiteCursor
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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
SQLiteCursor(ISQLiteCursorDriver, String, SQLiteQuery)
Execute a query and provide access to its result set through a Cursor interface.
[Android.Runtime.Register(".ctor", "(Landroid/database/sqlite/SQLiteCursorDriver;Ljava/lang/String;Landroid/database/sqlite/SQLiteQuery;)V", "")]
public SQLiteCursor (Android.Database.Sqlite.ISQLiteCursorDriver? driver, string? editTable, Android.Database.Sqlite.SQLiteQuery? query);
[<Android.Runtime.Register(".ctor", "(Landroid/database/sqlite/SQLiteCursorDriver;Ljava/lang/String;Landroid/database/sqlite/SQLiteQuery;)V", "")>]
new Android.Database.Sqlite.SQLiteCursor : Android.Database.Sqlite.ISQLiteCursorDriver * string * Android.Database.Sqlite.SQLiteQuery -> Android.Database.Sqlite.SQLiteCursor
Parameters
- driver
- ISQLiteCursorDriver
- editTable
- String
the name of the table used for this query
- query
- SQLiteQuery
the SQLiteQuery
object associated with this cursor object.
- Attributes
Remarks
Execute a query and provide access to its result set through a Cursor interface. For a query such as: SELECT name, birth, phone FROM myTable WHERE ... LIMIT 1,20 ORDER BY...
the column names (name, birth, phone) would be in the projection argument and everything from FROM
onward would be in the params argument.
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
SQLiteCursor(SQLiteDatabase, ISQLiteCursorDriver, String, SQLiteQuery)
Caution
deprecated
Execute a query and provide access to its result set through a Cursor interface.
[Android.Runtime.Register(".ctor", "(Landroid/database/sqlite/SQLiteDatabase;Landroid/database/sqlite/SQLiteCursorDriver;Ljava/lang/String;Landroid/database/sqlite/SQLiteQuery;)V", "")]
[System.Obsolete("deprecated")]
public SQLiteCursor (Android.Database.Sqlite.SQLiteDatabase? db, Android.Database.Sqlite.ISQLiteCursorDriver? driver, string? editTable, Android.Database.Sqlite.SQLiteQuery? query);
[<Android.Runtime.Register(".ctor", "(Landroid/database/sqlite/SQLiteDatabase;Landroid/database/sqlite/SQLiteCursorDriver;Ljava/lang/String;Landroid/database/sqlite/SQLiteQuery;)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Database.Sqlite.SQLiteCursor : Android.Database.Sqlite.SQLiteDatabase * Android.Database.Sqlite.ISQLiteCursorDriver * string * Android.Database.Sqlite.SQLiteQuery -> Android.Database.Sqlite.SQLiteCursor
Parameters
a reference to a Database object that is already constructed and opened. This param is not used any longer
- driver
- ISQLiteCursorDriver
- editTable
- String
the name of the table used for this query
- query
- SQLiteQuery
the rest of the query terms cursor is finalized
- Attributes
Remarks
Execute a query and provide access to its result set through a Cursor interface. For a query such as: SELECT name, birth, phone FROM myTable WHERE ... LIMIT 1,20 ORDER BY...
the column names (name, birth, phone) would be in the projection argument and everything from FROM
onward would be in the params argument.
This member is deprecated. use #SQLiteCursor(SQLiteCursorDriver, String, SQLiteQuery)
instead
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.