다음을 통해 공유


ISQLiteCursorDriver.Query(SQLiteDatabase+ICursorFactory, String[]) Method

Definition

Executes the query returning a Cursor over the result set.

[Android.Runtime.Register("query", "(Landroid/database/sqlite/SQLiteDatabase$CursorFactory;[Ljava/lang/String;)Landroid/database/Cursor;", "GetQuery_Landroid_database_sqlite_SQLiteDatabase_CursorFactory_arrayLjava_lang_String_Handler:Android.Database.Sqlite.ISQLiteCursorDriverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Database.ICursor? Query (Android.Database.Sqlite.SQLiteDatabase.ICursorFactory? factory, string[]? bindArgs);
[<Android.Runtime.Register("query", "(Landroid/database/sqlite/SQLiteDatabase$CursorFactory;[Ljava/lang/String;)Landroid/database/Cursor;", "GetQuery_Landroid_database_sqlite_SQLiteDatabase_CursorFactory_arrayLjava_lang_String_Handler:Android.Database.Sqlite.ISQLiteCursorDriverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Query : Android.Database.Sqlite.SQLiteDatabase.ICursorFactory * string[] -> Android.Database.ICursor

Parameters

factory
SQLiteDatabase.ICursorFactory

The CursorFactory to use when creating the Cursors, or null if standard SQLiteCursors should be returned.

bindArgs
String[]

Returns

a Cursor over the result set

Attributes

Remarks

Java documentation for android.database.sqlite.SQLiteCursorDriver.query(android.database.sqlite.CursorFactory, java.lang.String[]).

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