Initializes a new instance of the xtd::version class using the specified major and minor values.
major | The major version number. |
minor | The minor version number. |
xtd::out_of_range_exception | major or minor is less than zero. |
Property | Value |
---|---|
xtd::version::major | major |
xtd::version::minor | minor |
xtd::version::build | undefined (-1) |
xtd::version::revision | undefined (-1) |