Partager via


Context.DatabaseList Method

Definition

Returns an array of strings naming the private databases associated with this Context's application package.

[Android.Runtime.Register("databaseList", "()[Ljava/lang/String;", "GetDatabaseListHandler")]
public abstract string[]? DatabaseList ();
[<Android.Runtime.Register("databaseList", "()[Ljava/lang/String;", "GetDatabaseListHandler")>]
abstract member DatabaseList : unit -> string[]

Returns

String[]

Array of strings naming the private databases.

Attributes

Remarks

Returns an array of strings naming the private databases associated with this Context's application package.

Java documentation for android.content.Context.databaseList().

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

See also

  • <xref:Android.Content.Context.OpenOrCreateDatabase(System.String%2c+Android.Content.FileCreationMode%2c+Android.Content.FileCreationMode)>
  • DeleteDatabase(String)