Partager via


SQLiteDatabase.Version Property

Definition

Gets the database version. -or- Sets the database version.

public virtual int Version { [Android.Runtime.Register("getVersion", "()I", "GetGetVersionHandler")] get; [Android.Runtime.Register("setVersion", "(I)V", "GetSetVersion_IHandler")] set; }
[<get: Android.Runtime.Register("getVersion", "()I", "GetGetVersionHandler")>]
[<set: Android.Runtime.Register("setVersion", "(I)V", "GetSetVersion_IHandler")>]
member this.Version : int with get, set

Property Value

the database version

Attributes

Remarks

Property getter documentation:

Gets the database version.

Java documentation for android.database.sqlite.SQLiteDatabase.getVersion().

Property setter documentation:

Sets the database version.

Java documentation for android.database.sqlite.SQLiteDatabase.setVersion(int).

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