طريقة System::Version::CompareTo

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

انظر أيضًا