| Description | |
|
Holds the following operating system version information :
| Major Version | |
| Minor Version | |
| Build | |
| Revision | |
|
|
| Syntax | |
| | Constructor Create ( | Version : String
; ); | | Constructor Create ( | MajorVersion : Integer; MinorVersion : Integer
); | | Constructor Create ( | MajorVersion : Integer; MinorVersion : Integer; Build : Integer
); | | Constructor Create ( | MajorVersion : Integer; MinorVersion : Integer; Build : Integer; Revision : Integer ); |
|
| Methods | |
| | CompareTo | Compares the current Version value to another | | Equals | Compares a Version value to the current Version value | | ToString | Builds the Version information into a single string |
|
|
|
| Properties | |
| | Major | | Integer | | Major version
| | Minor | | Integer | | Minor version
| | Build | | Integer | | Build
| | Revision | | Integer | | Revision |
|
| Operators | |
| | < | Whether one version is less than another
| | <= | Whether one version is less than equal to another
| | = | Whether one version is equal to another
| | <> | Whether one version is not equal to another
| | >= | Whether one version is greate or equal to another
| | > | Whether one version is greater than another
|
|
Delphi Basics links | |
| |
Microsoft MSDN links | |
|
|