SQLiteDatabase.OpenOrCreateDatabase Method
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
OpenOrCreateDatabase(File, SQLiteDatabase+ICursorFactory) |
Equivalent to openDatabase(file. |
OpenOrCreateDatabase(String, SQLiteDatabase+ICursorFactory) |
Equivalent to openDatabase(file. |
OpenOrCreateDatabase(String, SQLiteDatabase+ICursorFactory, IDatabaseErrorHandler) |
Equivalent to openDatabase(file. |
OpenOrCreateDatabase(File, SQLiteDatabase+ICursorFactory)
Equivalent to openDatabase(file.
[Android.Runtime.Register("openOrCreateDatabase", "(Ljava/io/File;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;", "")]
public static Android.Database.Sqlite.SQLiteDatabase? OpenOrCreateDatabase (Java.IO.File file, Android.Database.Sqlite.SQLiteDatabase.ICursorFactory? factory);
[<Android.Runtime.Register("openOrCreateDatabase", "(Ljava/io/File;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;", "")>]
static member OpenOrCreateDatabase : Java.IO.File * Android.Database.Sqlite.SQLiteDatabase.ICursorFactory -> Android.Database.Sqlite.SQLiteDatabase
Parameters
- file
- File
- factory
- SQLiteDatabase.ICursorFactory
Returns
- Attributes
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
OpenOrCreateDatabase(String, SQLiteDatabase+ICursorFactory)
Equivalent to openDatabase(file.
[Android.Runtime.Register("openOrCreateDatabase", "(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;", "")]
public static Android.Database.Sqlite.SQLiteDatabase? OpenOrCreateDatabase (string path, Android.Database.Sqlite.SQLiteDatabase.ICursorFactory? factory);
[<Android.Runtime.Register("openOrCreateDatabase", "(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;", "")>]
static member OpenOrCreateDatabase : string * Android.Database.Sqlite.SQLiteDatabase.ICursorFactory -> Android.Database.Sqlite.SQLiteDatabase
Parameters
- path
- String
- factory
- SQLiteDatabase.ICursorFactory
Returns
- Attributes
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
OpenOrCreateDatabase(String, SQLiteDatabase+ICursorFactory, IDatabaseErrorHandler)
Equivalent to openDatabase(file.
[Android.Runtime.Register("openOrCreateDatabase", "(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;Landroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase;", "")]
public static Android.Database.Sqlite.SQLiteDatabase? OpenOrCreateDatabase (string path, Android.Database.Sqlite.SQLiteDatabase.ICursorFactory? factory, Android.Database.IDatabaseErrorHandler? errorHandler);
[<Android.Runtime.Register("openOrCreateDatabase", "(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;Landroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase;", "")>]
static member OpenOrCreateDatabase : string * Android.Database.Sqlite.SQLiteDatabase.ICursorFactory * Android.Database.IDatabaseErrorHandler -> Android.Database.Sqlite.SQLiteDatabase
Parameters
- path
- String
- factory
- SQLiteDatabase.ICursorFactory
- errorHandler
- IDatabaseErrorHandler
Returns
- Attributes
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.