VersionInfo.CompareTo(VersionInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares other with this VersionInfo.
[Android.Runtime.Register("compareTo", "(Landroid/icu/util/VersionInfo;)I", "", ApiSince=24)]
public int CompareTo (Android.Icu.Util.VersionInfo? other);
[<Android.Runtime.Register("compareTo", "(Landroid/icu/util/VersionInfo;)I", "", ApiSince=24)>]
member this.CompareTo : Android.Icu.Util.VersionInfo -> int
Parameters
- other
- VersionInfo
VersionInfo to be compared
Returns
0 if the argument is a VersionInfo object that has version information equals to this object. Less than 0 if the argument is a VersionInfo object that has version information greater than this object. Greater than 0 if the argument is a VersionInfo object that has version information less than this object.
- Attributes
Remarks
Compares other with this VersionInfo.
Java documentation for android.icu.util.VersionInfo.compareTo(android.icu.util.VersionInfo)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.