Share via


SyncId.op_Equality Method

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
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

  • idX
    The first sync ID to compare.
  • idY
    The second sync ID to compare.

Return Value

true if the objects are equal; otherwise, false.

See Also

Reference

SyncId Class
SyncId Members
Microsoft.Synchronization Namespace