SQLiteOpenHelper SQLiteOpenHelper Constructors

Definition

Overloads

SQLiteOpenHelper(IntPtr, JniHandleOwnership) SQLiteOpenHelper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32) SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32)

Create a helper object to create, open, and/or manage a database.

SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32, IDatabaseErrorHandler) SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32, IDatabaseErrorHandler)

Create a helper object to create, open, and/or manage a database.

SQLiteOpenHelper(IntPtr, JniHandleOwnership) SQLiteOpenHelper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SQLiteOpenHelper (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Database.Sqlite.SQLiteOpenHelper : nativeint * Android.Runtime.JniHandleOwnership -> Android.Database.Sqlite.SQLiteOpenHelper

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership 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.

SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32) SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32)

Create a helper object to create, open, and/or manage a database.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;I)V", "")]
public SQLiteOpenHelper (Android.Content.Context context, string name, Android.Database.Sqlite.SQLiteDatabase.ICursorFactory factory, int version);
new Android.Database.Sqlite.SQLiteOpenHelper : Android.Content.Context * string * Android.Database.Sqlite.SQLiteDatabase.ICursorFactory * int -> Android.Database.Sqlite.SQLiteOpenHelper

Parameters

context
Context Context
name
String String
version
Int32 Int32

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.

SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32, IDatabaseErrorHandler) SQLiteOpenHelper(Context, String, SQLiteDatabase+ICursorFactory, Int32, IDatabaseErrorHandler)

Create a helper object to create, open, and/or manage a database.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;ILandroid/database/DatabaseErrorHandler;)V", "", ApiSince=11)]
public SQLiteOpenHelper (Android.Content.Context context, string name, Android.Database.Sqlite.SQLiteDatabase.ICursorFactory factory, int version, Android.Database.IDatabaseErrorHandler errorHandler);
new Android.Database.Sqlite.SQLiteOpenHelper : Android.Content.Context * string * Android.Database.Sqlite.SQLiteDatabase.ICursorFactory * int * Android.Database.IDatabaseErrorHandler -> Android.Database.Sqlite.SQLiteOpenHelper

Parameters

context
Context Context
name
String String
version
Int32 Int32

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