Version.Major Property

July 28, 2014

Gets the value of the major component of the version number for the current Version object.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public int Major { get; }

Property Value

Type: System.Int32
The major version number.

For example, if the version number is 6.2, the major version is 6.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft