Partilhar via


Método SyncGroup.op_Equality

Determina se dois objetos SyncGroup especificados são iguais.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (em microsoft.synchronization.data.dll)

Sintaxe

'Declaração
Public Shared Operator = ( _
    syncGroup1 As SyncGroup, _
    syncGroup2 As SyncGroup _
) As Boolean
'Uso
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
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parâmetros

  • syncGroup1
  • syncGroup2

Valor de retorno

true se sg1 e sg2 referenciarem o mesmo objeto SyncGroup; caso contrário, false.

Consulte também

Referência

Classe SyncGroup
Membros SyncGroup
Namespace Microsoft.Synchronization.Data