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
- idX
Type: Microsoft.Synchronization.SyncId
The first sync ID to compare.
- idY
Type: Microsoft.Synchronization.SyncId
The second sync ID to compare.
Return Value
Type: System.Boolean
true if the objects are equal; otherwise, false.