Share via


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

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).

See also

Reference

ByteQuantifiedSize structure

ByteQuantifiedSize members

Microsoft.Exchange.Data namespace