System::Version::CompareTo método

Version::CompareTo method

Compara las versiones representadas por el objeto actual y el objeto especificado.

int System::Version::CompareTo(const Version &ver) const
ParámetroTipoDescripción
verconst Version&Un objeto Version para comparar con el objeto actual

ReturnValue

-1 if the version number represented by the current object is less than that represented by ver; 0 if the version numbers are equal; 1 if the version number represented by the current object is greater than the value represented by ver

Ver también