SQLiteDatabase.DeleteDatabase(File) 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.
Deletes a database including its journal file and other auxiliary files that may have been created by the database engine.
[Android.Runtime.Register("deleteDatabase", "(Ljava/io/File;)Z", "")]
public static bool DeleteDatabase (Java.IO.File file);
[<Android.Runtime.Register("deleteDatabase", "(Ljava/io/File;)Z", "")>]
static member DeleteDatabase : Java.IO.File -> bool
Parameters
- file
- File
The database file path.
Returns
True if the database was successfully deleted.
- Attributes
Remarks
Deletes a database including its journal file and other auxiliary files that may have been created by the database engine.
Java documentation for android.database.sqlite.SQLiteDatabase.deleteDatabase(java.io.File)
.
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.