Share via


SyncAnchor.Equals Method (SyncAnchor)

Determines whether two SyncAnchor objects are equal to each other.

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

Syntax

'Declaration
Public Function Equals ( _
    other As SyncAnchor _
) As Boolean
'Usage
Dim instance As SyncAnchor
Dim other As SyncAnchor
Dim returnValue As Boolean

returnValue = instance.Equals(other)
public bool Equals(
    SyncAnchor other
)
public:
bool Equals(
    SyncAnchor^ other
)
member Equals : 
        other:SyncAnchor -> bool 
public function Equals(
    other : SyncAnchor
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the anchors are equal; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

other is a null reference (Nothing in Visual Basic).

Remarks

Performs a byte comparison of the two anchors.

See Also

Reference

SyncAnchor Class

Equals Overload

Microsoft.Synchronization.Data Namespace