System::Version::CompareTo method

Version::CompareTo method

현재 객체와 지정된 객체가 나타내는 버전을 비교합니다.

int System::Version::CompareTo(const Version &ver) const
매개변수형식설명
verconst Version&현재 객체와 비교할 Version 객체

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

또 보기