System::Version::CompareTo méthode

Version::CompareTo method

Compare les versions représentées par l’objet actuel et l’objet spécifié.

int System::Version::CompareTo(const Version &ver) const
ParamètreTypeDescription
verconst Version&Un objet Version à comparer avec l’objet actuel

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

Voir aussi