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

◆ minor_revision()

int16 xtd::version::minor_revision ( ) const
noexcept

Gets the low 16 bits of the revision number.

Returns
A 16-bit signed integer.
Remarks
Suppose you release an interim version of your application to temporarily correct a problem until you can release a permanent solution. The temporary version does not warrant a new revision number, but it does need to be identified as a different version. In this case, encode the identification information in the high and low 16-bit portions of the 32-bit revision number. Use the xtd::version::revision property to obtain the entire revision number, use the xtd::version::major_revision property to obtain the high 16 bits, and use the xtd::version::minor_revision property to obtain the low 16 bits.