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

参照