ArchivedPackageInfo.VersionCodeMajor Property

Definition

The major version number of the package, as specified by the <manifest>tag's android.R.styleable#AndroidManifest_versionCode versionCodeMajor attribute.

public int VersionCodeMajor { [Android.Runtime.Register("getVersionCodeMajor", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getVersionCodeMajor", "()I", "", ApiSince=35)>]
member this.VersionCodeMajor : int

Property Value

Attributes

Remarks

The major version number of the package, as specified by the &lt;manifest&gt;tag's android.R.styleable#AndroidManifest_versionCode versionCodeMajor attribute.

Java documentation for android.content.pm.ArchivedPackageInfo.getVersionCodeMajor().

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