System::Version::CompareTo metodo

Version::CompareTo method

Confronta le versioni rappresentate dall’oggetto corrente e dall’oggetto specificato.

int System::Version::CompareTo(const Version &ver) const
ParametroTipoDescrizione
verconst Version&Un oggetto Version da confrontare con l’oggetto corrente

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

Vedi anche