System.SysUtils.TOSVersion.Major
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.
Note: For macOS 11 and later, if the application is built with 10.15 or previous SDK version, the macOS returns 10.16 as a "compatible version number".