Version
Description |
Represents the product's version, definition version or engine version of different types with number and string components. |
Important public methods of this class are:
Name |
Return type |
Description |
ParseStringToVersion |
bool |
A static method that creates a Version instance from a version string and a version type. The type of version can be DEFAULT, P231 or P321. It returns true if it can create version successfully and false otherwise. |
getVersionString |
wstring |
Returns the string representation of the version. |
isValid |
bool |
Returns true if this instance of Version is valid and false otherwise. A version is valid if its string representation is not empty and a valid VersionType. |
compare |
VersionComparisonResult |
Compares this instance of Version with another instance. The result can be LESS_THAN, GREATER_THAN, EQUAL, CANNOT_COMPARE, LEFT_NULL, RIGHT_NULL, BOTH_NULL or UNKNOWN. |