SPChangeTokenCollection.Equals method

Determines if the current instance is equal to another object of unknown type.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
'Usage
Dim instance As SPChangeTokenCollection
Dim o As Object
Dim returnValue As Boolean

returnValue = instance.Equals(o)
public override bool Equals(
    Object o
)

Parameters

  • o
    Type: System.Object

    The Object to compare with the current instance of SPChangeTokenCollection.

Return value

Type: System.Boolean
true if the current object is equal to the object passed in as an argument; otherwise, false.

Remarks

This method for compares two objects, one an instance of the SPChangeTokenCollection class, the other of unknown type. You can get the same result by casting the unknown object as type SPChangeTokenCollection and then using the equality operator for the comparison.

See also

Reference

SPChangeTokenCollection class

SPChangeTokenCollection members

Microsoft.SharePoint namespace

Equality(SPChangeTokenCollection, SPChangeTokenCollection)