SyncParameter.Equality Operator
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
)
static let inline (=)
sp1:SyncParameter *
sp2:SyncParameter : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- sp1
Type: Microsoft.Synchronization.Data.SyncParameter
A SyncParameter object.
- sp2
Type: Microsoft.Synchronization.Data.SyncParameter
A SyncParameter object.
Return Value
Type: System.Boolean
true if sp1 and sp2 reference the same SyncParameter object; otherwise, false.