SPItemKey.Equals Method
Determines whether the specified Object is equal to the current SPItemKey object.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overrides Function Equals ( _
rhs As Object _
) As Boolean
'Usage
Dim instance As SPItemKey
Dim rhs As Object
Dim returnValue As Boolean
returnValue = instance.Equals(rhs)
public override bool Equals(
Object rhs
)
Parameters
rhs
Type: System.ObjectAn object to compare to the current SPItemKey object.
Return Value
Type: System.Boolean
true if rhs is equal to the current object; otherwise, false.
Remarks
This override determines whether the rhs is equal to the current SPItemKey object.
If rhs is a SPItemKey object and the values of Id property and Key property are equal, both the rhs and the SPItemKey object are empty, rhs is a string and is equal to the value of the Key property, or rhs is an integer and is equal to the value of the Id property, this override returns true; otherwise, false.