xtd 0.2.0
Loading...
Searching...
No Matches

◆ version() [4/5]

xtd::version::version ( int32  major,
int32  minor,
int32  build 
)

Initializes a new instance of the xtd::version class using the specified major, minor and build values.

Parameters
majorThe major version number.
minorThe minor version number.
buildThe build version number.
Exceptions
xtd::out_of_range_exceptionmajor, minor or build is less than zero.
Remarks
This constructor creates a xtd::version object with the following property values.
Property Value
xtd::version::major major
xtd::version::minor minor
xtd::version::build build
xtd::version::revision undefined (-1)