Udostępnij za pośrednictwem


SyncParameter.op_Equality Method

Determines whether the two specified SyncParameter objects are equal.

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

Syntax

'Declaration
Public Shared Operator = ( _
    sp1 As SyncParameter, _
    sp2 As SyncParameter _
) As Boolean
'Usage
Dim sp1 As SyncParameter
Dim sp2 As SyncParameter
Dim returnValue As Boolean

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

Parameters

  • sp2
    A SyncParameter object.

Return Value

true if sp1 and sp2 reference the same SyncParameter object; otherwise, false.

See Also

Reference

SyncParameter Class
SyncParameter Members
Microsoft.Synchronization.Data Namespace