ByteQuantifiedSize.CompareTo method
Compares this instance to another ByteQuantifiedSize object and returns an indication of their relative values.
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)
Syntax
'Declaration
Public Function CompareTo ( _
other As ByteQuantifiedSize _
) As Integer
'Usage
Dim instance As ByteQuantifiedSize
Dim other As ByteQuantifiedSize
Dim returnValue As Integer
returnValue = instance.CompareTo(other)
public int CompareTo(
ByteQuantifiedSize other
)
Parameters
other
Type: Microsoft.Exchange.Data.ByteQuantifiedSizeAn object to compare to, or a null reference (Nothing in Visual Basic).
Return value
Type: System.Int32
A signed value indicating the relative values of this instance and value.
Return value |
Description |
---|---|
Less than zero |
This instance is less than the value of the value parameter. |
Zero |
This instance is equal to the value of the value parameter. |
Greater than zero |
This instance is greater than the value of the value parameter. -or- the value of the value parameter is a null reference (Nothing in Visual Basic). |