SQLiteDatabase.NeedUpgrade(Int32) 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.
Returns true if the new version code is greater than the current database version.
[Android.Runtime.Register("needUpgrade", "(I)Z", "GetNeedUpgrade_IHandler")]
public virtual bool NeedUpgrade (int newVersion);
[<Android.Runtime.Register("needUpgrade", "(I)Z", "GetNeedUpgrade_IHandler")>]
abstract member NeedUpgrade : int -> bool
override this.NeedUpgrade : int -> bool
Parameters
- newVersion
- Int32
The new version code.
Returns
True if the new version code is greater than the current database version.
- Attributes
Remarks
Returns true if the new version code is greater than the current database version.
Java documentation for android.database.sqlite.SQLiteDatabase.needUpgrade(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.