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

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