Volume.CompareTo(Volume) 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 this object with the specified object for order.
[Android.Runtime.Register("compareTo", "(Landroid/health/connect/datatypes/units/Volume;)I", "", ApiSince=34)]
public int CompareTo (Android.Health.Connect.DataTypes.Units.Volume other);
[<Android.Runtime.Register("compareTo", "(Landroid/health/connect/datatypes/units/Volume;)I", "", ApiSince=34)>]
member this.CompareTo : Android.Health.Connect.DataTypes.Units.Volume -> int
Parameters
- other
- Volume
the object to be compared.
Returns
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
- Attributes
Remarks
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
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.