This documentation is archived and is not being maintained.

Version.Major Property

Gets the value of the major component of the version number for this instance.

[Visual Basic]
Public ReadOnly Property Major As Integer
[C#]
public int Major {get;}
[C++]
public: __property int get_Major();
[JScript]
public function get Major() : int;

Property Value

The major version number.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Version Class | Version Members | System Namespace

Show: