PackageInfo.VersionCode Property
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.
This member is deprecated.
[Android.Runtime.Register("versionCode")]
public int VersionCode { get; set; }
[<Android.Runtime.Register("versionCode")>]
member this.VersionCode : int with get, set
Property Value
- Attributes
Remarks
This member is deprecated. Use #getLongVersionCode()
instead, which includes both this and the additional android.R.styleable#AndroidManifest_versionCodeMajor versionCodeMajor
attribute. The version number of this package, as specified by the <manifest> tag's android.R.styleable#AndroidManifest_versionCode versionCode
attribute.
Java documentation for android.content.pm.PackageInfo.versionCode
.
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.