Share via


SyncId.GreaterThan Operator

Determines whether idX is greater than idY.

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

Syntax

'Declaration
Public Shared Operator > ( _
    idX As SyncId, _
    idY As SyncId _
) As Boolean
'Usage
Dim idX As SyncId
Dim idY As SyncId
Dim returnValue As Boolean

returnValue = (idX > idY)
public static bool operator >(
    SyncId idX,
    SyncId idY
)
public:
static bool operator >(
    SyncId^ idX, 
    SyncId^ idY
)
static let inline (>)
        idX:SyncId * 
        idY:SyncId  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if idX is greater than idY; otherwise, false.

See Also

Reference

SyncId Class

Microsoft.Synchronization Namespace