Partilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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)