Share via


SyncGroup.op_Equality Method

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 = ( _
    sg1 As SyncGroup, _
    sg2 As SyncGroup _
) As Boolean
'Usage
Dim sg1 As SyncGroup
Dim sg2 As SyncGroup
Dim returnValue As Boolean

returnValue = (sg1 = sg2)
public static bool operator == (
    SyncGroup sg1,
    SyncGroup sg2
)
public:
static bool operator == (
    SyncGroup^ sg1, 
    SyncGroup^ sg2
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

  • sg2
    A SyncGroup object.

Return Value

true if sg1 and sg2 reference the same SyncGroup object; otherwise, false.

See Also

Reference

SyncGroup Class
SyncGroup Members
Microsoft.Synchronization.Data Namespace