Converts the string representation of a version number to an equivalent Version object.
- Parameters
-
input | A string that contains a version number to convert. |
- Returns
- An object that is equivalent to the version number specified in the input parameter.
- Exceptions
-
- Warning
- Because the string representation of a version number must conform to a recognized pattern, applications should always use exception handling when calling the xtd::version::parse method to parse user input. Alternatively, you can call the xtd::version::try_parse method to parse the string representation of a version number and return a value that indicates whether the parse operation succeeded.