Share via


SyncGlobalId.CompareTo Method

Compares this object with another SyncGlobalId object.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Function CompareTo ( _
    obj As Object _
) As Integer
'Usage
Dim instance As SyncGlobalId
Dim obj As Object
Dim returnValue As Integer

returnValue = instance.CompareTo(obj)
public int CompareTo (
    Object obj
)
public:
virtual int CompareTo (
    Object^ obj
) sealed
public final int CompareTo (
    Object obj
)
public final function CompareTo (
    obj : Object
) : int

Parameters

Return Value

A 32-bit signed integer that indicates the relative order of the objects that are being compared. The return value has the following meanings.

Value

Meaning

Less than 0

This object is less than obj.

0

This object is equal to obj.

Greater than 0

This object is greater than obj.

See Also

Reference

SyncGlobalId Class
SyncGlobalId Members
Microsoft.Synchronization Namespace