|
explicit |
Initializes a new instance of the xtd::version class using the specified string.
version | A string containing the major, minor, build, and revision numbers, where each number is delimited with a period character ('.'). |
xtd::argument_exception | version has fewer than two components or more than four components. |
xtd::argument_out_of_range_exception | A major, minor, build, or revision component is less than zero. |
xtd::format_exception | At least one component of version does not parse to an integer. |
xtd::overflow_exception | At least one component of version represents a number greater than std::numeric_limits<int32>::max(). |
major.minor[.build[.revision]]