Share via


SyncGroup.Equality Operator

Determines whether two specified SyncGroup objects are equal.

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

Syntax

'Declaration
Public Shared Operator = ( _
    syncGroup1 As SyncGroup, _
    syncGroup2 As SyncGroup _
) As Boolean
'Usage
Dim syncGroup1 As SyncGroup
Dim syncGroup2 As SyncGroup
Dim returnValue As Boolean

returnValue = (syncGroup1 = syncGroup2)
public static bool operator ==(
    SyncGroup syncGroup1,
    SyncGroup syncGroup2
)
public:
static bool operator ==(
    SyncGroup^ syncGroup1, 
    SyncGroup^ syncGroup2
)
static let inline (=)
        syncGroup1:SyncGroup * 
        syncGroup2:SyncGroup  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if sg1 and sg2 reference the same SyncGroup object; otherwise, false.

See Also

Reference

SyncGroup Class

Microsoft.Synchronization.Data Namespace