MapiObjectId.IComparable.CompareTo Method

Namespace:  Microsoft.Exchange.Data.Mapi
Assembly:  Microsoft.Exchange.Data.Mapi (in Microsoft.Exchange.Data.Mapi.dll)

Syntax

'Declaration
Private Function CompareTo ( _
    obj As Object _
) As Integer Implements IComparable.CompareTo
'Usage
Dim instance As MapiObjectId
Dim obj As Object
Dim returnValue As Integer

returnValue = CType(instance, IComparable).CompareTo(obj)
int IComparable.CompareTo(
    Object obj
)

Parameters

Return Value

Type: System.Int32

Implements

IComparable.CompareTo(Object)