Share via


SyncGlobalId.op_Equality Method

Determines whether the two specified SyncGlobalId objects are equal.

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

Syntax

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

returnValue = (idX = idY)
public static bool operator == (
    SyncGlobalId idX,
    SyncGlobalId idY
)
public:
static bool operator == (
    SyncGlobalId^ idX, 
    SyncGlobalId^ 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 global ID to compare.
  • idY
    The second global ID to compare.

Return Value

true if the objects are equal; otherwise, false.

See Also

Reference

SyncGlobalId Class
SyncGlobalId Members
Microsoft.Synchronization Namespace