Share via


SPItemKey.Equality operator (SPItemKey, Object)

Determines whether the specified Object is equal to the specified SPItemKey.

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

Syntax

'Declaration
Public Shared Operator = ( _
    lhs As SPItemKey, _
    rhs As Object _
) As Boolean
'Usage
Dim lhs As SPItemKey
Dim rhs As Object
Dim returnValue As Boolean

returnValue = (lhs = rhs)
public static bool operator ==(
    SPItemKey lhs,
    Object rhs
)

Parameters

Return value

Type: System.Boolean
true if lhs is equal to rhs; otherwise, false.

Remarks

The method determines whether lhs is equal to rhs by calling the Equals(Object) method if both lhs and rhs are not null . If both lhs and rhs are null , this method returns true.

See also

Reference

SPItemKey class

SPItemKey members

Equality overload

Microsoft.SharePoint.Workflow namespace