Share via


SyncId.Equality Operator

Determines whether the two specified SyncId objects are equal.

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 the objects are equal; otherwise, false.

See Also

Reference

SyncId Class

Microsoft.Synchronization Namespace