System.SysUtils.TOSVersion.Major

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property Major: Integer read FMajor;

C++

/* static */ __property int Major = {read=FMajor};

Properties

Type Visibility Source Unit Parent
property public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TOSVersion

Description

Represents the current operating system's major version number.

Use this property to get the current operating system's major version number. For example, the major version number of Windows 7 is 6.

See Also