共用方式為


SQLiteQueryBuilder.SetCursorFactory(SQLiteDatabase+ICursorFactory) Method

Definition

Sets the cursor factory to be used for the query.

[Android.Runtime.Register("setCursorFactory", "(Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)V", "GetSetCursorFactory_Landroid_database_sqlite_SQLiteDatabase_CursorFactory_Handler")]
public virtual void SetCursorFactory (Android.Database.Sqlite.SQLiteDatabase.ICursorFactory? factory);
[<Android.Runtime.Register("setCursorFactory", "(Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)V", "GetSetCursorFactory_Landroid_database_sqlite_SQLiteDatabase_CursorFactory_Handler")>]
abstract member SetCursorFactory : Android.Database.Sqlite.SQLiteDatabase.ICursorFactory -> unit
override this.SetCursorFactory : Android.Database.Sqlite.SQLiteDatabase.ICursorFactory -> unit

Parameters

factory
SQLiteDatabase.ICursorFactory

the factory to use.

Attributes

Remarks

Java documentation for android.database.sqlite.SQLiteQueryBuilder.setCursorFactory(android.database.sqlite.CursorFactory).

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