PartVersion Class Members
In This Topic
The following tables list the members exposed by PartVersion.
Public Constructors
Public Properties
| Name | Description |
| Major |
Get the major part of the version number.
|
| Minor |
Get the minor part of the version number.
|
| Revision |
Get the revision part of the version number.
|
Top
Public Methods
| Name | Description |
| Compare |
Compare two version numbers stored in two PartVersion objects.
|
| IsValid |
Check if the version number is valid. See the constructor's description for valid ranges.
All numbers must be within the valid range.
|
| MajorMinorToString |
Convert the major and minor parts of the version number into the string value.
The output string is formatted: <major>.<minor> , example: 1.0
|
| ToInt |
Convert version number into int number which is used as input of several methods.
The output number is a decimal number where M - major part, I - minor part, R - revision:
MMIIRRRR. For example: 1.5.7 -> 1050007
|
| ToString | Returns a string that represents the current object. |
Top
Public Operators
See Also