SPChangeTokenCollection.Equality operator

Returns a Boolean value that indicates whether the two specified SPChangeTokenCollection objects are equal.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    changeTokenColl1 As SPChangeTokenCollection, _
    changeTokenColl2 As SPChangeTokenCollection _
) As Boolean
'Usage
Dim changeTokenColl1 As SPChangeTokenCollection
Dim changeTokenColl2 As SPChangeTokenCollection
Dim returnValue As Boolean

returnValue = (changeTokenColl1 = changeTokenColl2)
public static bool operator ==(
    SPChangeTokenCollection changeTokenColl1,
    SPChangeTokenCollection changeTokenColl2
)

Parameters

Return value

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

Remarks

This method implements the equality operator. To call the method, simply use the equality operator with two SPChangeTokenCollection objects.

See also

Reference

SPChangeTokenCollection class

SPChangeTokenCollection members

Microsoft.SharePoint namespace