다음을 통해 공유


MockContext.DeleteDatabase(String) Method

Definition

Delete an existing private SQLiteDatabase associated with this Context's application package.

[Android.Runtime.Register("deleteDatabase", "(Ljava/lang/String;)Z", "GetDeleteDatabase_Ljava_lang_String_Handler")]
public override bool DeleteDatabase (string? name);
[<Android.Runtime.Register("deleteDatabase", "(Ljava/lang/String;)Z", "GetDeleteDatabase_Ljava_lang_String_Handler")>]
override this.DeleteDatabase : string -> bool

Parameters

name
String

The name (unique in the application package) of the database.

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